View Single Post
Old 04-25-2013, 11:07 PM   #1341
JimmXinu
Plugin Developer
JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.JimmXinu ought to be getting tired of karma fortunes by now.
 
JimmXinu's Avatar
 
Posts: 6,313
Karma: 3966249
Join Date: Dec 2011
Location: Midwest USA
Device: Kindle Paperwhite(10th)
Quote:
Originally Posted by Jade Aislin View Post
I didn't realize that the HTML entities were saved. When I put in your code it did change the '&'. However, it left the space before and after.
Hmmm. FFDL may be somewhat overzealous with stripping leading/trailing whitespace from config items. I'll look into it.

In the meantime, you can use this:
Code:
replace_metadata:
 ships=>[ ]&[ ]=>/
Quote:
Originally Posted by Jade Aislin View Post
Would using codes like the '&' work on the spaces? Is there a cheat sheet that would show me the special symbols that I might have trouble replacing?
Not on the spaces, no. The only HTML entities that should remain are:
  • &
  • <
  • >
Everything else should have been converted to unicode chars by that point.
JimmXinu is offline