Fix improper escaping of deprecation reasons
This commit is contained in:
parent
2d0a7def33
commit
c74f2dc588
@ -2,7 +2,7 @@
|
|||||||
{% when Self::Deprecation with { message } %}
|
{% when Self::Deprecation with { message } %}
|
||||||
<div class="stab deprecated"> {# #}
|
<div class="stab deprecated"> {# #}
|
||||||
<span class="emoji">👎</span> {# #}
|
<span class="emoji">👎</span> {# #}
|
||||||
<span>{{message}}</span> {# #}
|
<span>{{message|safe}}</span> {# #}
|
||||||
</div> {# #}
|
</div> {# #}
|
||||||
{% when Self::Unstable with { feature, tracking } %}
|
{% when Self::Unstable with { feature, tracking } %}
|
||||||
<div class="stab unstable"> {# #}
|
<div class="stab unstable"> {# #}
|
||||||
|
@ -28,6 +28,6 @@
|
|||||||
pub struct W;
|
pub struct W;
|
||||||
|
|
||||||
// @matches deprecated/struct.X.html '//*[@class="stab deprecated"]' \
|
// @matches deprecated/struct.X.html '//*[@class="stab deprecated"]' \
|
||||||
// 'Deprecated: shorthand reason$'
|
// 'Deprecated: shorthand reason: code$'
|
||||||
#[deprecated = "shorthand reason"]
|
#[deprecated = "shorthand reason: `code`"]
|
||||||
pub struct X;
|
pub struct X;
|
||||||
|
Loading…
Reference in New Issue
Block a user