Resources

My Agape try

Your Agape try


Support Forum

You must be logged in to post Login Register

Search 
Search Forums:


 




Updating a revision converts HTML character entities

UserPost

9:33 am
September 8, 2010


jgilles

Member

posts 8

1

If I use the revision editor and update a revision (even just to change the schedule date), any HTML character entities, such as less-than and greater-than get converted to the actual character and saved.

&lt; becomes <

It seems it is the editor doing this — it displays the characters converted in the editor.  Editing pages using the normal interfaces does not do this.

Any workaround for this?

Thanks,

Jesse

3:37 pm
October 12, 2010


Kevin

Admin

posts 2502

2

I seems to remember looking for this with 1.0.7 and not reproducing the error. Anyway, I don't see it with Revisionary 1.1.RC2. Do you? If so, what WP version are you running? Any TinyMCE-related plugins?

3:44 pm
October 12, 2010


jgilles

Member

posts 8

3

Am using 1.0.7 with WP 2.9.2 and TinyMCE Advanced plugin.

I will try 1.1RC2.  Are there known issues with using it with the TinyMCE Advanced plugin?


4:03 pm
October 12, 2010


jgilles

Member

posts 8

4

Ah, I see that 1.1RC2 requires WP 3.0…I can't upgrade at the moment, sorry

4:27 pm
October 12, 2010


Kevin

Admin

posts 2502

5

No known issues with TinyMCE Advanced at last check.

4:15 pm
October 18, 2010


Kevin

Admin

posts 2502

6

Hmm, I just took a stab at this on WP 2.9.1 with Revisionary 1.0.7 and TinyMCE Advanced 3.2.7. The lt and gt character entities were stored on update, and display as the character only in the Visual view.

3:13 pm
September 13, 2011


jgilles

Member

posts 8

7

Sorry to bring back this very old post, but I have finally upgraded to WP 3.2.1 and I am trying out the latest plugin (1.1.6) and I'm still seeing this issue.

If I edit a page that has character entities, save the pending revision, and then go to edit the pending revision, the editor shows the characters rendered and not the HTML source version.  I have disabled the Tiny MCE plugin and am only using the HTML editor, not the visual editor.

Good examples:

&#0153;  for the trademark symbol

&gt; for greater than symbol

Before I edit the page I see "&#0153;" in the content and after saving a revision as mentioned and then editing the revision, I see the TM symbol instead in the HTML editor, which is not what one wants :)

3:23 pm
September 13, 2011


jgilles

Member

posts 8

8

Update:

I was poking around some more and noticed two things.

1. I have the visual editor disabled in my profile (try testing it this way)

2. If I enable the visual editor, the editor displays the charcters correctly in the HTML tab on the first display.  But if I click on the Visual tab and then go back to the HTML tab, the characters are now displayed rendered (TM instead of &#0153;)

Thanks,

Jesse

12:40 am
October 5, 2011


Kevin

Admin

posts 2502

9

Thanks for the report. This is now fixed in the updated Revisionary development code.

12:42 am
October 5, 2011


Kevin

Admin

posts 2502

10

The confirmed bug fix is for the behavior with Visual Editor turned off. I didn't see any problem when switching from Visual to HTML.

8:01 am
October 5, 2011


jgilles

Member

posts 8

11

Awesome, thanks!  Yeah, I think what I'm seeing with character entities and switching between Visual and HTML is unrelated to your plugin.  I see it with the latest Wordpress even with the plugin disabled.


About the Agapetry forum

Currently Online:

13 Guests

Maximum Online: 150

Forums:

Groups: 2

Forums: 7

Topics: 1244

Posts: 5649

Members:

There are 1254 members

There are 1 guests


Kevin has made 2502 posts

Top Posters:

metal450 - 178

Ragnar - 108

YikYak - 70

whiteorb - 49

Daisy - 35

Administrator: Kevin | Moderators: Kevin