Changed "address" to "addr" to get it to work for me
-
I am posting this in the hopes that it is useful to other people.
The “address” tag is reserved in HTML5 for a very specific purpose, which for many users doesn’t meet their need with this plugin. Most browsers behave strangely when they get to an “address” tag and that is causing extra paragraph returns to show up in the output for many users, it seems.
However, this plugin does not really require that a user use the “address” tag. You can create your own dedicated tag, and make a small alteration to the .js file that comes with this plugin, replacing the word “address” with your new tag name (I used the name “addr”).
Now, if I want to have an address inline in my text, converted into a Google Maps hyperlink, I put “addr” tags around it and it looks perfect in my final output.
For instance, I go to the text editor for my post and enter:
Restaurant name, <addr>123 Main Street, Anytown, MI 12345</addr>
And it creates the html output I want:
Restaurant name, 123 Main Street, Anytown, MI 12345
I think this would meet most users’ needs and since there doesn’t seem to be any further activity by these developers, I offer it as an acceptable kluge in case it’s helpful to you.
- The topic ‘Changed "address" to "addr" to get it to work for me’ is closed to new replies.