Skip to content

Lua image filter, prevent escaping attributes? #9457

Answered by cagix
RealTrisT asked this question in Q&A
Discussion options

You must be logged in to vote

You amend the properties of the Image element and the HTML writer then creates escaped code.

What happens if you return a RawBlock instead of the Image element, where you assemble the code for the image yourself? In this case there should be no escaping.

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@RealTrisT
Comment options

@cagix
Comment options

Answer selected by RealTrisT
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants