|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #59820 Can you add a tag to allow validation only
Submitted: 2011-06-18 11:18 UTC Modified: 2017-04-01 19:33 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: hiram_ at gmx dot net Assigned:
Status: Wont fix Package: bbcode (PECL)
PHP Version: Irrelevant OS: Solaris
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-06-18 11:18 UTC] hiram_ at gmx dot net
We use your module for our forum. But since we disallow editing of post we want users to be notified if they forget closing tags etc.

Would it be possible to add a flag which disallows the auto correction and just throws a exception if the nesting etc is incorrect. It does not really matter if how this is done. Although it would be nice if it gives enough information see which tag is wrong (or at least which type of tag)

Reproduce code:
so given" [b]text[i]ddd[/b][/i] 

Expected result:
it would give some information saying your i tag is not closed yet.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-04-01 19:33 UTC]
-Status: Open +Status: Wont fix
 [2017-04-01 19:33 UTC]
Due to this extension not seeing any activity since 2010, this issue will not be fixed. We are therefore closing this now.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Aug 04 16:01:23 2021 UTC