From 06df375f94d88fe149efb2723894c186831d8bd6 Mon Sep 17 00:00:00 2001 From: ReimaFrgos <14120424+ReimaFrgos@users.noreply.github.com> Date: Mon, 6 Jul 2020 10:28:39 +0800 Subject: [PATCH] Enable coloring hyperlinks --- src/gen-xml.ts | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/src/gen-xml.ts b/src/gen-xml.ts index 080536fde..2024f9096 100644 --- a/src/gen-xml.ts +++ b/src/gen-xml.ts @@ -973,11 +973,19 @@ function genXmlTextRunProperties(opts: IObjectOptions | ITextOpts, isDefault: bo //runProps += ''+ genXmlColorSelection('0000FF') +''; // Breaks PPT2010! (Issue#74) runProps += `` + }" history="1" highlightClick="0" endSnd="0"${opts.color?'>':'/>'}` } else if (opts.hyperlink.slide) { runProps += `` + }"${opts.color?'>':'/>'}` + } + if (opts.color) { + runProps += ' ' + runProps += ' ' + runProps += ' ' + runProps += ' ' + runProps += ' ' + runProps += '' } }