Page 1 of 1

State and city tags? Where are these coming from??

Posted: Wed 29. Mar 2006, 02:27
by tbuley
I'm trying to validate my site, in an effort to figure out the IE display problems, and this came up:

In 1976 Chateau Montelena put <st1:state><st1:place>California</st1:place></st1:state> at the forefront of the wine world.

It gave me errors saying that the tags are not recognizable.. which they aren't.. and I didn't put them there.

So where do I disable this feature?

Posted: Wed 29. Mar 2006, 04:18
by DeXXus
I think they are MS Word "smart tags". You must be using an Office product or Frontpage... they are the source.

The htmlarea WYSIWYG editor has code to strip them out:
"htmlarea.js"

Code: Select all

// kill unwanted tags
D = D.replace(/<\?xml:[^>]*>/g, '').       // Word xml
      replace(/<\/?st1:[^>]*>/g,'').     // Word SmartTags