Visual mode editing seems to break links that use both "name" and "href"
-
I sometimes switch back and forth between visual mode and html mode editing; I also sometimes put footnotes in my posts, by typing something like this in html mode:
This is some text.*
This is some more text.
*This is a footnote.
So, if you click on the first *, you go to the footnote, and if you click on the second *, you go back to the point where the footnote was referenced. The problem is that if I switch to visual mode and back to html mode, the text gets changed to:
This is some text.*
This is some more text.
*This is a footnote.
The asterisks now appear after the closingtag, so there’s nothing to click on to get to the footnote or back to the point where it was referenced.This isn’t a huge problem for me, because I can work around it by just fixing the links in html mode as the last step before publishing, or doing something like this:
This is some text.*
This is some more text.
<href="#footnote_ref">*This is a footnote.
I’ve seen this behavior on Firefox 10.0 and Chrome 16.0.912.75 on Mac OSX Lion. And yes, I’ve tried clearing my cache and cookies (in Chrome, at least).
The blog I need help with is: (visible only to logged in users)
-
Sorry — apparently I completely messed up the formatting. Here’s the same thing again, but I’m just going to type “[” and “]” instead of less than and greater than signs:
I sometimes switch back and forth between visual mode and html mode editing; I also sometimes put footnotes in my posts, by typing something like this in html mode:
This is some text.[a name="footnote_ref" href="#footnote"]*[/a]
This is some more text.
[a name="footnote" href="#footnote_ref"]*[/a]This is a footnote.
So, if you click on the first *, you go to the footnote, and if you click on the second *, you go back to the point where the footnote was referenced. The problem is that if I switch to visual mode and back to html mode, the text gets changed to:
This is some text.[a name="footnote_ref" href="#footnote"][/a]*
This is some more text.
[a name="footnote" href="#footnote_ref"][/a]*This is a footnote.
The asterisks now appear after the closing
[/a]tag, so there’s nothing to click on to get to the footnote or back to the point where it was referenced.This isn’t a huge problem for me, because I can work around it by just fixing the links in html mode as the last step before publishing, or doing something like this:
This is some text.[a name="footnote_ref"/][a href="#footnote"]*[/a]
This is some more text.
[a name="footnote"][a href="#footnote_ref"]*[/a]This is a footnote.
I’ve seen this behavior on Firefox 10.0 and Chrome 16.0.912.75 on Mac OSX Lion. And yes, I’ve tried clearing my cache and cookies (in Chrome, at least).
-
- The topic ‘Visual mode editing seems to break links that use both "name" and "href"’ is closed to new replies.