If I have this code inside a htmlText field inside a Repeater:
<mx:Text id="postFooter1" width="100%" y="0"
htmlText="Posted in {postsrepeater.currentitem.categories.catego...@name}
| {postsrepeater.currentit...@commentcount} Comments " />
How can I wrap it in anchor tags?
<mx:Text id="postFooter1" width="100%" y="0"
htmlText="Posted in <a
href='event:{postsrepeater.currentitem.categories.catego...@name
}'>{postsrepeater.currentitem.categories.catego...@name}</a> | <a
href='event:{postsrepeater.currentit...@commentcount
}'>{postsrepeater.currentit...@commentcount} Comments</a> " />
If I use the above code the compiler says:
The value of attribute "htmlText" must not contain the '<' character.