escape html tags.
fix reference in bookmarks.