HTML entities and the ampersand
-
On the subject of HTML entities. Particularly the fractions. I tried to included ½ which should display a 1/2 fraction in a single space, but when I hit publish the system converted the ampersand to the & escape character. Even though I was in the “text mode” of editing. If you are going to convert all & to the escape character, how can I use the escape characters myself? There are lots of HTML entities that are useful (pound, euro, trademark and copyright symbols jump to mind.)
The blog I need help with is: (visible only to logged in users)
-
Some HTML entities have, for years, needed to be copied and pasted into the text (html) editor. Not the code ½ for example, but the actual “½”, unless you switch momentarily to the visual editor.
Most HTML entities work perfectly. But fractions are entities which seem to be blocked.
I’ve mentioned this in the past, but no one has explained it. I’ll modlook this for staff. If you subscribe, then you’ll be notified of a response to this thread.
-
Hi there,
I’m checking with our team about why some HTML entities like ½ aren’t converted as expected. In the meantime, however, you can use the code ½ to insert that fraction on your WordPress.com blog. You can also copy and paste the symbol ½ into the editor, as 1tess mentioned.
-
I checked with our team, and this is actually a bug in the open-source WordPress software that WordPress.com runs on. If you’re interested, you can follow along with the bug report at WordPress.org here: http://core.trac.wordpress.org/ticket/26290
- The topic ‘HTML entities and the ampersand’ is closed to new replies.