Skip to content

Commit adac345

Browse files
committed
fix: markdown line continuation in release notes
1 parent 55abf4c commit adac345

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Hearthstone Deck Tracker/FlyoutControls/UpdateNotes.xaml.cs

+1
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ private bool HasRegistryEntry(string key)
112112
releaseNotes = reader.ReadToEnd();
113113
}
114114

115+
releaseNotes = Regex.Replace(releaseNotes, "\\\\\r", "\r"); // yes, this the right number of slashes...
115116
releaseNotes = Regex.Replace(releaseNotes, "\n", "\n\n");
116117
releaseNotes = Regex.Replace(releaseNotes, "#(\\d+)",
117118
"[#$1](https://github.com/HearthSim/Hearthstone-Deck-Tracker/issues/$1)");

0 commit comments

Comments
 (0)