-
MODX Staff
- 1,535 Posts
There’s no option - the backticks are essential to the document parsing process to be able to identify when one snippet parameter value ends and another parameter starts. Simple rule of thumb is that all snippet parameter values should be surrounded by backticks.
IMO, it’s better sometimes to go with a fixed convention than to try and make everything optional/configurable and end up adding a whole lot of logic to account for that - especially during the page load when parsing efficiency and speed are important factors.
Garry Nutting
Senior Developer
MODX, LLC
Email:
[email protected]
Twitter: @garryn
Web: modx.com
Quote from: OpenGeek at Aug 08, 2007, 11:03 PM
[[snippet?param1=value¶m2=another value¶m3=1¶m4=xxx]]
vs.
[[snippet? ¶m1=`value` ¶m2=`another value` ¶m3=`1` ¶m4=`xxx`]]
If you look at the code examples he provides, param2=another value demonstrates that the attributes may have whitespace.
Jesse R.
Consider trying something new and extraordinary.
Illinois Wine
Have you considered donating to MODx lately?
Donate now. Every contribution helps.