mirror of
https://github.com/bigskysoftware/htmx.git
synced 2025-10-02 15:25:26 +00:00
Fix example for mustache in client-side-templates extension. (#2409)
* Fix incorrect key name in template. * Remove unnecessary escapes from docs.
This commit is contained in:
parent
0b29664545
commit
075ec3afdb
@ -81,7 +81,7 @@ a [`<template>` tag](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/t
|
||||
<p id="content">Start</p>
|
||||
|
||||
<template id="foo">
|
||||
<p> {% raw %}{{userID}}{% endraw %} and {% raw %}{{id}}{% endraw %} and {% raw %}{{title}}{% endraw %} and {% raw %}{{completed}}{% endraw %}</p>
|
||||
<p> {{userId}} and {{id}} and {{title}} and {{completed}}</p>
|
||||
</template>
|
||||
</div>
|
||||
</body>
|
||||
|
Loading…
x
Reference in New Issue
Block a user