johnnyhowey/liferay-plugins — pull request #190 by epgarcia (2012-10-09 14:38:05+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: Unescaping the HTML code on Javascript side when creating the Textarea.

Tested to fullfill SOS-1202 and SOS-1222. Example:

Today is Joe Blogg's fake "birthday".

@ealonso