Skip to content

Commit 0cb52b8

Browse files
Update changelogs from fern repo (#3319)
Co-authored-by: patrickthornton <70873350+patrickthornton@users.noreply.github.com>
1 parent a74b787 commit 0cb52b8

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
## 2.18.1
2+
**`(fix):`** While most `<`s and `>`s should be escaped to `&lt;` and `&gt;` to avoid mangling the output,
3+
genuine XML/HTML tags should be kept as-is; this commit scans for potential valid tags and
4+
prevents their being escaped. (Ambiguous cases are escaped.)
5+
6+
Before:
7+
```
8+
/// XMLDoc (C#) (Example of actual XML tags):
9+
/// See &lt;a href="https://example.com/docs"&gt;the docs&lt;/a&gt; for more info.
10+
/// Use &lt;code&gt;getValue()&lt;/code&gt; to retrieve the value.
11+
/// Note: when count &lt; 10 or count &gt; 100, special handling applies.
12+
```
13+
14+
After:
15+
```
16+
/// XMLDoc (C#) (Example of actual XML tags):
17+
/// See <a href="https://example.com/docs">the docs</a> for more info.
18+
/// Use <code>getValue()</code> to retrieve the value.
19+
/// Note: when count &lt; 10 or count &gt; 100, special handling applies.
20+
```
21+
22+

0 commit comments

Comments
 (0)