mirror of
https://gh.wpcy.net/https://github.com/discourse/discourse.git
synced 2026-05-22 07:46:56 +08:00
New lines on `alt`/`title` embedded media are not allowed, causing an invalid serialized Markdown which is not supposed to contain new lines for these attributes. This PR removes them during HTML parsing – we are not creating this new line scenario otherwise. |
||
|---|---|---|
| .. | ||
| category_templates_spec.rb | ||
| default_to_subcategory_spec.rb | ||
| discard_draft_spec.rb | ||
| dont_feed_the_trolls_popup_spec.rb | ||
| post_validation_spec.rb | ||
| prosemirror_editor_spec.rb | ||
| review_media_unless_trust_level_spec.rb | ||
| template_validation_spec.rb | ||