Skip to content

Commit c09f2d5

Browse files
committed
DiffHighligher.hpp: Fix an issue where text in a different HTML element would sometimes not wrap at the right edge of the window
1 parent f4c046b commit c09f2d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WinWebDiffLib/DiffHighlighter.hpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ class Highlighter
918918
if (!h.empty() && std::all_of(h.begin(), h.end(), [](wchar_t ch) { return iswspace(ch); }))
919919
{
920920
h.pop_back();
921-
h += L" ";
921+
h += L" ​";
922922
}
923923
html += h;
924924
if (tree.HasMember(L"appendedNodes"))

0 commit comments

Comments
 (0)