mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 21:45:25 +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. |
||
|---|---|---|
| .. | ||
| backups | ||
| csv | ||
| db | ||
| emails | ||
| encodings | ||
| feed | ||
| i18n | ||
| images | ||
| json | ||
| md | ||
| media | ||
| mmdb | ||
| multisite | ||
| onebox | ||
| plugins | ||
| scss | ||
| site_settings | ||
| svg | ||
| theme_locales/objects_settings | ||
| theme_settings | ||
| themes | ||
| woff2 | ||