Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

Search found 6 matches
Smarty Forum Index
Author Message
  Topic: variableFilter and bbcode parsing
thunberg

Replies: 16
Views: 34062

PostForum: Smarty 3   Posted: Fri Aug 24, 2012 6:22 am   Subject: variableFilter and bbcode parsing
Thank you for the reply. I look forward to more thought being given to this functionality in future versions, but for now I've gone ahead and modified lines 63-122 of smarty_internal_compile_private_p ...
  Topic: variableFilter and bbcode parsing
thunberg

Replies: 16
Views: 34062

PostForum: Smarty 3   Posted: Thu Aug 23, 2012 5:15 am   Subject: variableFilter and bbcode parsing
Additionally, since you've specifically added a separate method to escape HTML via "escape_html", wouldn't that nullify the argument against having "default_modifiers" run first?
  Topic: variableFilter and bbcode parsing
thunberg

Replies: 16
Views: 34062

PostForum: Smarty 3   Posted: Thu Aug 23, 2012 4:55 am   Subject: variableFilter and bbcode parsing
I appreciate both the reply and your continued work on Smarty, but unfortunately that does not help in my situation since the "escape_html" option uses "htmlspecialchars" and not t ...
  Topic: variableFilter and bbcode parsing
thunberg

Replies: 16
Views: 34062

PostForum: Smarty 3   Posted: Mon Aug 20, 2012 10:49 pm   Subject: variableFilter and bbcode parsing
I think this has once again reverted. I recently upgraded from Smarty 3 SVN revision 3286 to 3.1, and my default modifiers are being run after the in-template modifiers. Here's an example of my setup ...
  Topic: variableFilter and bbcode parsing
thunberg

Replies: 16
Views: 34062

PostForum: Smarty 3   Posted: Wed Mar 09, 2011 4:14 pm   Subject: variableFilter and bbcode parsing
Works perfectly now, thank you for fixing it.
  Topic: variableFilter and bbcode parsing
thunberg

Replies: 16
Views: 34062

PostForum: Smarty 3   Posted: Tue Mar 08, 2011 9:37 pm   Subject: variableFilter and bbcode parsing
I could be mistaken, but I believe version 3.0.7 once again incorrectly applies variable filters (or the mapped default_modifiers) after in-template modifiers as opposed to before.

The example I'm ...
 
Page 1 of 1
All times are GMT
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP