Commit 92385ceb authored by Milena Boselli Rosa's avatar Milena Boselli Rosa Committed by Chris Lamb

Fix a "Text run is not in Unicode Normalization Form C" HTML validation warning.

Signed-off-by: Chris Lamb's avatarChris Lamb <lamby@debian.org>
parent 951bcaff
......@@ -42,6 +42,7 @@ import logging
import os
import re
import sys
from unicodedata import normalize
from urllib.parse import urlparse
from diffoscope import VERSION
......@@ -150,7 +151,7 @@ def convert(s, ponct=0, tag=''):
i = 0
t.write('\u200b')
return t.getvalue()
return normalize('NFC', t.getvalue())
def output_visual(visual, path, indentstr, indentnum):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment