Profile

Documenting user.sitename DW shortcut bugs

Expand Cut Tags

No cut tags
roadrunnertwice: Wrecked bicyclist. Dialogue: "I am fucking broken." (Bike - Fucking broken (Never as Bad))
[personal profile] roadrunnertwice posting in [community profile] usershortcutbugs

OK, so after perusing the examples throughout the community alongside their source text, here's what I'm seeing:

  • Most of the bugs are fixed.
  • The remaining bugs can be summed up as "user mentions before a sentence-ending period usually go bad."

Yeah? (edit: found the problem, PR here.)

That fits with the behavior changes I made recently, which went live in the (april? may?) code push. The current intended behavior for @mentions is:

Enabled for both HTML and Markdown.

NOT enabled when "don't autoformat" is set.

TEMPORARILY DISABLED within the following elements (both Markdown and HTML variants):

  • Code spans (<code> or backticks)
  • Preformatted blocks (<pre>; this also catches Markdown indented code blocks, which render to html as <pre><code>...</code></pre>)
  • <textarea>s
  • <raw-code>
  • embedded tweets (<blockquotes> that have a special class. kind of a weird exception.)

Errata

  • The "bold" examples below don't look like they're working, but that's just because user tag text is already styled with a bold font weight. If you inspect the HTML, you'll see they're properly wrapped in a <strong> element.
  • I didn't see any examples of this one yet, but user tags used to act weird inside links, in a variety of ways. Now, we should be using a non-linked variant of the user tag, so it looks right but doesn't break the link:
This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

Style Credit

Page generated Sep. 18th, 2025 09:05 pm
Powered by Dreamwidth Studios