4 ms·
Yes. It's a weak heuristic, but it's EXACTLY the same weak heuristic that JS is applying! IN other words, since custom template tags in JS *are literally just
by conartist6 2y ago
Yes. It's a weak heuristic, but it's EXACTLY the same weak heuristic that JS is applying!
IN other words, since custom template tags in JS *are literally just function calls* when a JS environment syntax highlights the code as HTML it's doing so based on an extremely weak heuristic (the identifier for the interpolation function is named "html"). Both Python and JS have the same problem.