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 |
||
---|---|---|
.. | ||
tpl | ||
asset.js | ||
author.js | ||
authors.js | ||
body_class.js | ||
cancel_link.js | ||
concat.js | ||
content.js | ||
date.js | ||
encode.js | ||
excerpt.js | ||
facebook_url.js | ||
foreach.js | ||
get.js | ||
ghost_foot.js | ||
ghost_head.js | ||
has.js | ||
img_url.js | ||
index.js | ||
is.js | ||
lang.js | ||
link.js | ||
link_class.js | ||
meta_description.js | ||
meta_title.js | ||
navigation.js | ||
page_url.js | ||
pagination.js | ||
plural.js | ||
post_class.js | ||
prev_post.js | ||
price.js | ||
raw.js | ||
reading_time.js | ||
t.js | ||
tags.js | ||
title.js | ||
twitter_url.js | ||
url.js |