Here's a dilemma:
Stripping style attributes from stories dowloaded from fanfiction.net removes some relevant formatting done by the author, for example
style="text-align:center;".
However,
not stripping style attributes results in preserving some weird and unnecessary padding that the site apparently puts into its div tags by default. (It looks like this:
<div class="storytextp" id="storytextp" style="padding:0 0.5em 0 0.5em;">)
Does anyone have a solution? It's not possible to strip style attributes from div tags while preserving them for p tags, is it?