Kirill N Posted March 6, 2015 Share Posted March 6, 2015 How do I disable bbcode from parsing in posts? Link to comment Share on other sites More sharing options...
Kirill N Posted April 27, 2015 Author Share Posted April 27, 2015 Bump Link to comment Share on other sites More sharing options...
AutoItScript Posted April 27, 2015 Share Posted April 27, 2015 I've written a plugin to disable BBCode parsing in <pre> tags (pending a bug report) it could be modified to prevent all bbcode. If you want to edit the source files in the meantime it was system\text\parser.php to change:public function __construct( $bbcode=FALSE, $attachIds=NULL, $member=NULL, $area=FALSE, $filterProfanity=TRUE, $cleanHtml=TRUE, $htmlPurifierConfig=NULL ) { // ADD ME $bbcode = FALSE; // END OF ADD ME Link to comment Share on other sites More sharing options...
Kirill N Posted April 27, 2015 Author Share Posted April 27, 2015 @AutoItScript Thank you!! Link to comment Share on other sites More sharing options...
Kirill N Posted May 3, 2015 Author Share Posted May 3, 2015 @AutoItScript I just modified the code like you said but it didn't make any difference and the bbcode still parses. This is a bug right? Link to comment Share on other sites More sharing options...
Angeels Posted May 3, 2015 Share Posted May 3, 2015 I've written a plugin to disable BBCode parsing in <pre> tags (pending a bug report) Still waiting for a bug fix before it will work. Link to comment Share on other sites More sharing options...
Kirill N Posted May 5, 2015 Author Share Posted May 5, 2015 Can you guys please link me to the bug report? Link to comment Share on other sites More sharing options...
AutoItScript Posted May 5, 2015 Share Posted May 5, 2015 For parsing BBCode in Pre tags I bugged this weeks ago. Still pending.http://community.invisionpower.com/4bugtrack/401-bbcode-is-being-parsed-when-entering-code-r5233/ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.