On Sun, Jun 16, 2013 at 7:47 PM, D M German <[email protected]> wrote:
> * Double braces {{}}
> One problem I have run into is that {{}} are widely used by wikis and
> other HTML systems to escape a template of some sort. Try for example
> editing the following page and changing "{{}}" to "{{ and }}"
> http://wiki.spdx.org/view/Technical_Team/Proposals/2013-6-13/License_Template
> I have added the example at the bottom of the page. You will see how it
> is rendered because the wiki software has special interpretation for
> these fields.
> I ran into the same problem at github and even my own website software.
> This will make our editing of the rules in the wiki more difficult that
> they need to be. My suggestion is to replace the double braces with
> double angle brackets <<>>
> Again, this is simply stylistic and does not change anything.

Daniel:
I think the main reason why curly braces were selected is because they
are a de-facto convention for text template engines, which of course
includes things like wiki and several HTML and text templating systems
and libraries.
This is actually part of their appeal, not a drawback IMHO.
And yes this may mean that in cases we will have to escape the curly
braces properly or mark them such that they are not  recognized by a
template engine. And angle brackets would likely have the same issues
wrt to HTML/XML.

-- 
Philippe Ombredanne
_______________________________________________
Spdx-tech mailing list
[email protected]
https://lists.spdx.org/mailman/listinfo/spdx-tech

Reply via email to