mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 05:42:36 +08:00
Previously, a reply sent from Outlook was truncated at its first numbered list — `extract_from_word` treats any child of `.WordSection1` that is neither a `<p>` nor a `<ul>` as the start of a signature or forwarded message, and Outlook renders numbered lists as `<ol>`, so the list and everything after it was elided and (outside of private messages, or with `always_show_trimmed_content` disabled) dropped from the post with no error. This change excludes `<ol>` as well, so numbered lists are kept along with the content that follows them, while the `<div>`/`<table>` signature and forwarded-message blocks the method exists to strip are still elided. |
||
|---|---|---|
| .. | ||
| authentication_results_spec.rb | ||
| cleaner_spec.rb | ||
| email_spec.rb | ||
| message_builder_spec.rb | ||
| processor_spec.rb | ||
| receiver_spec.rb | ||
| renderer_spec.rb | ||
| sender_spec.rb | ||
| sns_spec.rb | ||
| styles_spec.rb | ||