mirror of
https://github.com/discourse/discourse.git
synced 2026-08-06 01:10:43 +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.rb | ||
| build_email_helper.rb | ||
| cleaner.rb | ||
| message_builder.rb | ||
| message_id_service.rb | ||
| poller.rb | ||
| processor.rb | ||
| receiver.rb | ||
| renderer.rb | ||
| sender.rb | ||
| sns.rb | ||
| styles.rb | ||
| validator.rb | ||