From d411a0865556dfc154841c8c2e084f7d464998f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=B3n=20Orell=20Valerian=20Liehr?= Date: Tue, 26 Jul 2022 17:38:13 +0200 Subject: [PATCH] Htmldocck: Substitute the doc channel when blessing --- src/etc/htmldocck.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/etc/htmldocck.py b/src/etc/htmldocck.py index 70b6af717cd38..d02ac9d9c0ab7 100644 --- a/src/etc/htmldocck.py +++ b/src/etc/htmldocck.py @@ -440,6 +440,7 @@ def check_snapshot(snapshot_name, actual_tree, normalize_to_text): if bless: with open(snapshot_path, 'w') as snapshot_file: + actual_str = actual_str.replace(channel, "{{channel}}") snapshot_file.write(actual_str) else: print('--- expected ---\n')