mirror of
https://github.com/discourse/discourse.git
synced 2026-08-02 09:29:37 -05:00
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.