If your inline tags don’t require many attributes, you may find it easiest to use tag interpolation, or literal HTML, within a plain text block.
p.
Using regular tags can help keep your lines short,
but interpolated tags may be easier to #[em visualize]
whether the tags and text are whitespace-separated.
extends layout
block content
- var Asisstants = data.Asisstants
- var len1 = Asisstants.length
p= 'len1: ' + len1
// так работает
- var A = JSON.stringify(data.Asisstants)
script.
var AST = JSON.parse(("#{A}").replace(/"/g,'""'));
var len2 = AST.length;
document.writeln('len2: ' + len2);