View Single Post
Old 08-10-2014, 12:14 AM   #27
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by DiapDealer View Post
The tags you can change stuff TO are configurable; but only through editing the JSON settings file manually, but otherwise you're right... the original tag you're looking for is not configurable.

I've had another request along the same lines (<a> tags). I'm thinking about adding the ability to remove/modify 'a' tags, but haven't put the time in yet. I figure it's not that critical since non-nestable tags (of which the anchor tag is one [99.9 percent of the time anyway]) are pretty trivial to regex away in well-formed (x)html.
Well, the only reason nested anything got in this discussion, I think, is because I happened to recycle some code for nuking nested tags. Your solution looks quite nice too.

I was kinda viewing your plugin as a way to remove extraneous elements, not nested per se. So it might be nice to have a plugin that does all the heavy liftingthinking for you.

EDIT: And I see you added <a> .

Last edited by eschwartz; 08-10-2014 at 12:19 AM.
eschwartz is offline   Reply With Quote