w3c / testtwf-website-src

Sources for http://testthewebforward.org/
10 stars 17 forks source link

The build swallows up anything in double braces #15

Closed sideshowbarker closed 9 years ago

sideshowbarker commented 9 years ago

I guess this is some Jekyll thing.

When I put "either replace the w3c-test.org string with the expression {{host}}:{{ports[http][0]}} or a generic hostname like example.org" into the https://github.com/w3c/web-platform-tests/blob/master/docs/lint-tool.md file but when I process it to rebuild the docs here, it spits out just : there where that stuff with the double braces is in the source.

I assume that’d mean that in the http://testthewebforward.org/docs/ rendering of any other docs we have that give examples of substitution expressions, those are going to get swallowed up too.

sideshowbarker commented 9 years ago

So it seems like the only practical way to work around this would be to make the build inject {% raw %} and {% endraw %} to wrap the code: {% raw %}{{ double brackets }}{% endraw %}

sideshowbarker commented 9 years ago

See #17