css hex colors turned into tags #955
Labels
Customer Report
Issues or PRs that were reported via Happiness. Previously known as "Happiness Request".
Needs triage
[Type] Bug
Something isn't working
WordPress.com
Quick summary
Related ticket: 8924019-zd-a8c
Any css hex color codes in the post_content get treated as potential hashtags, and become tags on the post.
e.g.: if your post body includes this
Then the resultant post will get a tag
ffffff
which cannot be removed, as it is reapplied every time the post is edited.Steps to reproduce
<span style="color:#ffffff">
ffffff
.What you expected to happen
Text that begins with a
#
inside an HTML attribute should be ignored when generating hashtags for a post.What actually happened
CSS color codes from the post content are turned into tags.
Impact
One
Available workarounds?
Yes, easy to implement
Logs or notes
No response
The text was updated successfully, but these errors were encountered: