kaj/ructe

can't use internal html curly brackets

Closed this issue · 2 comments

here my code <input pattern="[0-9]{6}" />

and those two curly braces cause error, so how do i get around it ? (if it's possible)

kaj commented

To use verbatim curly brackets in the template body, they must be escaped as @{ and @}, as mentioned in the docs.

So it would look like this: <input pattern="[0-9]@{6@}" />.

thanks. (should've read the docs properly)