1

Topic: Issue involving link names

I am developing a site for someone that wishes to publish WPD documents (some written well over fifteen years ago) online.
The most difficult part of this is converting the text into a format that can be edited with a WYSIWYG script such as TINYMCE and then posting it into a database.
In terms of just cleaning up the output from TINYMCE, htmlawed has been a huge help except for in one regard:
Links to and from footnotes are being removed.

Here is an example of a footnote link after running HTMLawed:
<p style="">
<a href="">27</a>
(text)
</p>

Here is what it looks like before it has been filtered:
div id="sdfootnote27">
<p align="LEFT" style="margin-bottom: 0in; line-height: 100%;">
<span style="color: rgb(0, 0, 0);">
<span>
<span style="font-size: small;">
<a href="#sdfootnote27anc" name="sdfootnote27sym">27</a>
(text)
</span>
</span>
</span>
</p>
</div>

So, I am wondering what the process might be to keep these links and names intact? Everything else can stay gone, as far as I'm concerned.
Also, is there a way I could enable htmlawed to filter through content pasted into a TINYMCE textentry box?

Thanks for your time and help,
Matt

2

Re: Issue involving link names

I think this is a 'magic slashes' issue; please refer to this post.

For using htmLawed on TinyMCE-created content, this web-page may be helpful.