{% (end)?raw %} ⇒ {% (end)?verbatim %}
```
rg '\{%\s*raw' -l | xargs -I{} sed -i -e 's/{%\(\s*\)raw/{%\1verbatim/g; s/endraw\(\s*\)%}/endverbatim\1%}/g' {}
```
Close vichan-devel/vichan#452.
This commit is contained in:
1 parent
4fd93f490f
commit
f1b43e5fb2
7 files changed
+41
-41
No files matched your search
@@ -42,8 +42,8 @@
|
||||
<br><a href="https://engine.vichan.net/">vichan</a> Copyright © 2012-2018 vichan-devel</p>
|
||||
{% for footer in config.footer %}<p class="unimportant" style="text-align:center;">{{ footer }}</p>{% endfor %}
|
||||
</footer>
|
||||
<script type="text/javascript">{% raw %}
|
||||
<script type="text/javascript">{% verbatim %}
|
||||
ready();
|
||||
{% endraw %}</script>
|
||||
{% endverbatim %}</script>
|
||||
</body>
|
||||
</html>
|
||||
Reference in new issue
Block a user