Files
discourse/spec/lib/onebox
Sam e60890dbae FIX: broken XPath escaping and undefined CSS constant in anchor lookup (#37546)
The original commit added anchor fragment enhancement for onebox
descriptions, reusing the `find_anchor_target` method. However, this
method had two bugs: a broken string escaping pattern that corrupts
fragments containing single quotes, and a reference to an undefined
`CSS.escape` constant that would raise a `NameError` at runtime.
2026-02-05 17:59:35 +11:00
..