stange anchor ref behavior

  • Thread starter Thread starter Jack Fox
  • Start date Start date
J

Jack Fox

I am saving some formated html fragments (text, some formatting tags and
anchor tags) in a SQL text column then writing it to a page. Something
strange is happening with the anchor tags within the saved fragment.

<a href="mypage.aspx">stuff</a>

comes out looking perfect in the browser source (both IE 6.0 and Firefox
1.0), but if you hover the mouse over the link you get

http://localhost/"mypage.aspx"

in the status bar. What is more I have other anchor tags formatted exactly
the same before and after the saved fragment, and they work.

What gives? How can the browser goof-up some tags and not others that all
are formatted the same when I look at the source?
 
OK, mystery solved (happens every time I post a dumb question, at least I
caught this one before anyone replied).

Somewhere in the creation path of the html fragment, possible MS Word, the
quote character became something that looked like a quote character, but
wasn't; or at least wasn't according to the encodings my browsers are using.
 
Back
Top