Skip to content

Commit e7d0b88

Browse files
author
bors-servo
authored
Auto merge of #262 - servo:jdm-patch-2, r=SimonSapin
Mark rust code block as regular text in docs. This should fix servo/servo#16213. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/html5ever/262) <!-- Reviewable:end -->
2 parents 7634561 + e4c4468 commit e7d0b88

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xml5ever/src/serialize/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ pub type AttrRef<'a> = (&'a QName, &'a str);
9494
/// depending on where the text is written inside the tag or attribute value.
9595
///
9696
/// For example
97-
///```
97+
///```text
9898
/// <tag>'&-quotes'</tag> becomes <tag>'&amp;-quotes'</tag>
9999
/// <tag = "'&-quotes'"> becomes <tag = "&apos;&amp;-quotes&apos;"
100100
///```

0 commit comments

Comments
 (0)