a13c08a45b
This has the benefit of not adding `.preview` divs everywhere, anytime we use `parse()`, and also to un-tie the position of the preview blocks from the result of the helper. This means that templates that call `parse` and have some extra markup after that are not constrained anymore. This is effectively an alternative, better way to fix https://github.com/thelounge/lounge/issues/1343, but the initial fix that was put in place (https://github.com/thelounge/lounge/pull/1347) is still relevant, for example to make sure a preview stays hidden (and does not add extra margin/padding/etc.) if the link does not prefetch. |
||
---|---|---|
.. | ||
actions | ||
chan.tpl | ||
chat.tpl | ||
contextmenu_divider.tpl | ||
contextmenu_item.tpl | ||
date-marker.tpl | ||
image_viewer.tpl | ||
index.js | ||
msg_action.tpl | ||
msg_preview_toggle.tpl | ||
msg_preview.tpl | ||
msg_unhandled.tpl | ||
msg.tpl | ||
network.tpl | ||
unread_marker.tpl | ||
user_filtered.tpl | ||
user_name.tpl | ||
user.tpl |