Issue 66 in json-template: <img> src being ignored.

15 views
Skip to first unread message

json-t...@googlecode.com

unread,
Sep 29, 2011, 10:22:37 AM9/29/11
to json-t...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 66 by HSedel...@gmail.com: <img> src being ignored.
http://code.google.com/p/json-template/issues/detail?id=66

Hey fellows, great work but I have a problem!

-What steps will reproduce the problem?
1. I want to insert a variable into an <img> tag in the "src"
But It's completely ignoring the "src"-part.
If I have the exact same variable in any other part of the IMG-tag it works.
For example id="{User.Picture}", but src="{User.Picture}"
outputs 'src="%7BUser.Picture%7D"'.

Why is src being ignored like this? Can't find any information about this
elsewhere, so please help.


Thanks in advance!
/Henrik Sedelius


json-t...@googlecode.com

unread,
Nov 15, 2011, 2:39:42 AM11/15/11
to json-t...@googlegroups.com

Comment #1 on issue 66 by andyc...@gmail.com: <img> src being ignored.
http://code.google.com/p/json-template/issues/detail?id=66

Sorry for the very late response -- I can't really see what may have gone
wrong. You might need to escape it properly though:

<img src="{User.Picture|htmltag}" />

I'd need an example to look into it any further (e.g. attach something that
can be run)

Reply all
Reply to author
Forward
0 new messages