discourse/app/assets/javascripts/pretty-text/engines/discourse-markdown
Isaac Janzen 196b791365
DEV: Prioritize full name when display_name_on_posts active (#16078)
See: https://meta.discourse.org/t/display-full-name-not-username-when-attributing-quote-or-reply/203533?u=isaacjanzen for context

The initial release [broke quoting](https://meta.discourse.org/t/quoting-broken-when-name-matches-username/217633?u=isaacjanzen) but we now pass the username when 
```
siteSettings.display_name_on_posts && !siteSettings.prioritize_username_in_ux && post.name
```
as well as the full name to guarantee that we are not getting any mismatches when querying for user / avatar.

eg. 
```
[quote="Isaac Janzen, post:3, topic:7, full:true, username:isaac.janzen"]
bing bong
[/quote]
```
2022-04-20 10:07:51 -05:00
..
anchor.js FIX: Generate valid heading ids (#14840) 2021-11-08 20:44:46 +02:00
bbcode-block.js DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
bbcode-inline.js DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
category-hashtag.js REFACTOR: Move the `discourse-markdown` engine out of the addon repo 2020-09-18 11:42:22 -04:00
censored.js DEV: Simplify watched word code (#13103) 2021-05-27 19:20:26 +03:00
code.js DEV: adds initial support for custom blocks using code fencing (#15743) 2022-02-09 11:23:44 +01:00
custom-typographer-replacements.js FEATURE: Add a typographer rule to replace (pa) with ¶. (#12478) 2021-03-22 15:04:08 -03:00
d-wrap.js FIX: pretty text allow list (#10977) 2020-10-28 13:22:06 +11:00
emoji.js DEV: Replace deprecated String.prototype.substr() (#16233) 2022-04-01 17:35:17 +02:00
helpers.js DEV: Replace deprecated String.prototype.substr() (#16233) 2022-04-01 17:35:17 +02:00
html-img.js DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00
image-controls.js FIX: Add a confirm and cancel button when editing alt text (#15003) 2021-11-19 10:57:09 +08:00
mentions.js DEV: Export pretty text function for plugin use (#13826) 2021-07-22 14:06:46 -05:00
newline.js FIX: possible ReDOS in markdown newline rule (#15646) 2022-01-20 22:32:01 +01:00
onebox.js DEV: Correct typos and spelling mistakes (#12812) 2021-05-21 11:43:47 +10:00
paragraph.js DEV: prettier 2.2.1 (#11862) 2021-01-27 12:39:20 +01:00
quotes.js DEV: Prioritize full name when display_name_on_posts active (#16078) 2022-04-20 10:07:51 -05:00
table.js DEV: Use method definition syntax consistently (#14915) 2021-11-13 14:01:55 +01:00
text-post-process.js DEV: enforces eslint’s curly rule to the codebase (#10720) 2020-09-22 16:28:28 +02:00
upload-protocol.js DEV: Update xss.js package (#16398) 2022-04-06 22:49:13 +02:00
watched-words.js FIX: Use Map instead of Object for caching (#14887) 2021-11-12 15:18:07 +02:00