currently, HTML is not allowed in the annotations. that is, any html that might be entered by the user is rendered inert by replacing the < and > tags with the named entities. it would be nice to be able to allow HTML in the annotations, but i have not been able to figure out how to modify the code to do so. if someone can point me in the right direction, i would be happy to make it available.

Comments

plungerman’s picture

follow up to my own feature request. in the meantime, if you want to allow HTML in your annotations, you can do the following:

change line 153 of image_annotate.module from this:

$text = '"'. check_plain($note->comment) . '" '. t('by') .' '. $author . '';

to this:

$text = '"'. $note->comment . '" '. t('by') .' '. $author . '';