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

Get help with installation and running phpwcms here. Please do not post bug reports or feature requests here.
Post Reply
tbuley
Posts: 6
Joined: Fri 16. Dec 2005, 04:35

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

Post 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?
User avatar
DeXXus
Posts: 2168
Joined: Fri 28. Nov 2003, 06:20
Location: USA - Florida

Post 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
Post Reply