Depending on the WYSIWYG editor being used, the URLs (where replacement codes are set) might end up getting URL encoded. This method will replace the URL-encoded version with the normal version so that the actual replacement logic can be relatively consistent.