Hi,
If I select text that contains links and click I or B (italics, bold), the resulting HTML cannot italicize the entire paragraph, and inserts italics inside links:
Before:
After
I did some HTML formatting to make it readable, the original is one long line.
Is it possible to have just one <em> in the paragraph, instead of closing and opening around links?
Is this some DTD restriction that can be solved using a different document type/DTD?
Is it browser behavior of FCK behavior?
Thanks
If I select text that contains links and click I or B (italics, bold), the resulting HTML cannot italicize the entire paragraph, and inserts italics inside links:
Before:
<p> Posted to <a _fcksavedurl="..." href="...">My Site</a> by <a _fcksavedurl="..." href="...">User</a>. </p>
After
<p> <em>Posted to </em> <a _fcksavedurl="..." href="..."><em> My Site </em></a> <em> by </em><a _fcksavedurl="..." href="..."><em> User </em></a><em>.</em> </p>
I did some HTML formatting to make it readable, the original is one long line.
Is it possible to have just one <em> in the paragraph, instead of closing and opening around links?
Is this some DTD restriction that can be solved using a different document type/DTD?
Is it browser behavior of FCK behavior?
Thanks
Re: Cannot italicize and bold paragraphs that contain links
</em></a><em>
with </a>, and a few more combinations of regexps. This is my least favorite solution. Is there anything that could be done on the client to avoid the problem in the first place?