Project

General

Profile

Actions

Bug #7737

closed

Markup Displaying in Forum Posts

Added by Luke Waltzer over 7 years ago. Updated about 7 years ago.

Status:
Rejected
Priority name:
Normal
Assignee:
-
Category name:
Group Forums
Target version:
Start date:
2017-03-01
Due date:
% Done:

0%

Estimated time:
Deployment actions:

Description

Have seen a few forum posts that display markup. I assume that means someone is pasting from elsewhere, but am not sure and think it might be worthy of a look.

Attached screenshots of an email and corresponding forum post -- https://commons.gc.cuny.edu/groups/cuny-ctl-directors-council/forum/topic/sotl-literature-on-lectures/#post-53668 -- where this is happening;


Files

Actions #1

Updated by Boone Gorges over 7 years ago

  • Status changed from New to Reporter Feedback

I assume that means someone is pasting from elsewhere

Yes, I assume that this is the case. The HTML tags were written/pasted into the Visual tab, which means that they are encoded to `<` etc in the database and displayed as literal characters.

It's a bit surprising to see the divs, as opposed to the sort of HTML that one might manually write (like anchor tags). It seems like the kind of markup that might be generated by a program that converts raw text into HTML. But this does not appear to be the work of WordPress's, since its autop function uses paragraph tags rather than divs.

It may be worth following up with the original poster to see whether there's something the Commons can do to improve his posting workflow, but I'd say tentatively that there is no bug here.

Actions #2

Updated by Boone Gorges over 7 years ago

  • Target version set to Not tracked
Actions #3

Updated by Boone Gorges about 7 years ago

  • Status changed from Reporter Feedback to Rejected

We've taken steps in recent releases to mitigate the possibility of posting illegal markup, so I think we can close this for the time being.

Actions

Also available in: Atom PDF