diff options
| author | León Orell Valerian Liehr <liehr.exchange@gmx.net> | 2022-07-26 17:38:13 +0200 |
|---|---|---|
| committer | León Orell Valerian Liehr <liehr.exchange@gmx.net> | 2022-07-26 17:38:13 +0200 |
| commit | d411a0865556dfc154841c8c2e084f7d464998f1 (patch) | |
| tree | 6d015f01a1a2575f06d549d77836e2e327f930b7 | |
| parent | 93ffde6f04d3d24327a4e17a2a2bf4f63c246235 (diff) | |
| download | rust-d411a0865556dfc154841c8c2e084f7d464998f1.tar.gz rust-d411a0865556dfc154841c8c2e084f7d464998f1.zip | |
Htmldocck: Substitute the doc channel when blessing
| -rw-r--r-- | src/etc/htmldocck.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/etc/htmldocck.py b/src/etc/htmldocck.py index 70b6af717cd..d02ac9d9c0a 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') |
