mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-01-06 22:40:14 -05:00
724db487a0
- we don't need to use _.escape from lodash as we already have escapeExpression from handlebars - it's more correct to use the escape utility from our theme engine when escaping strings _for_ our theme engine! - Note there is a minor difference between the two: - Lodash: &, <, >, " and ' - refs: https://lodash.com/docs/4.17.15#escape - Handlebars: &, <, >, ", ', ` and = - refs: https://handlebarsjs.com/api-reference/utilities.html#helper-utilities - This could cause slightly weird behaviour in themes around ` and = characters, but as it's just convering to html entities it should be fine |
||
---|---|---|
.. | ||
client@13fc1c7005 | ||
frontend | ||
server | ||
shared | ||
app.js | ||
boot.js | ||
bridge.js |