Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Q&A

Welcome to Codidact Meta!

Codidact Meta is the meta-discussion site for the Codidact community network and the Codidact software. Whether you have bug reports or feature requests, support questions or rule discussions that touch the whole network – this is the site for you.

Post History

77%
+5 −0
Q&A Post history diff shows apparently double-escaped HTML entities

As Exhibit A, I present revision 2 of Switching to an admin user within Powershell SSH session on Power Users, and specifically its diff view against revision 1 of Stated Post. The post itself con...

0 answers  ·  posted 2y ago by Canina‭  ·  edited 2y ago by Monica Cellio‭

#2: Post edited by user avatar Monica Cellio‭ · 2022-01-03T15:43:57Z (about 2 years ago)
Can't reproduce now, but it was doing that at one point so I guess something we did since then fixed it?
#1: Initial revision by user avatar Canina‭ · 2021-11-19T17:09:19Z (over 2 years ago)
Post history diff shows apparently double-escaped HTML entities
As Exhibit A, I present [revision 2 of *Switching to an admin user within Powershell SSH session* on Power Users](https://powerusers.codidact.com/posts/284929/history), and specifically its diff view against revision 1 of Stated Post.

The post itself contains simple quotation marks (`"`, U+0022), but the diff shows `&quot;` which is the HTML character entity for that same character.

The HTML source code includes `&amp;quot;` in that location.

This seems to me like a double-entitification bug, but:

 * if it's intended behavior, then this is a request for it to be changed such that the diff view shows the difference between the Markdown source for the current and previous revision; and
 * if it's unintended behavior, then this is a bug report for the incorrect behavior