johnnyhowey/liferay-plugins — pull request #191 by epgarcia (2012-10-09 16:30:13+00:00)
Title: SOS-1222 Microblogs is displaying apostrophes and quotation marks incorrectly

Finally I've solved it by:

1. View Entries: Escaping the HTML after the match for hash tags but before replacing them by links. This way, only "real" hash tags (and not those in escape codes) are replaced by links.

2. Edit Entries: Escaping the HTML code using HtmlUtil.escapeJS instead of HtmlUtil.escape.

Tested for SOS-1202 and SOS-1222. Example:

Today is Joe Blogg's #fake "birthday".

@ealonso