diff options
author | Svante Schubert <svante.schubert@gmail.com> | 2020-08-24 17:22:41 +0200 |
---|---|---|
committer | Michael Stahl <michael.stahl@allotropia.de> | 2021-03-02 13:22:27 +0100 |
commit | 26271331c8da8c872f29463d9c390b1b570eb020 (patch) | |
tree | c1e27c6f79607375290b20d049f9eb9ac08d8408 /sw | |
parent | 795f89c7d1e4ade6cdaa12cb4ba0857ae3b1e02e (diff) |
HTML XSLT: Overtaking masking ' for ODF font-family with spaces in names
Change-Id: I718fc232a3903d0b449a4c9a4ef4dff601744756
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/111615
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/qa/extras/htmlexport/xhtmlexport.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sw/qa/extras/htmlexport/xhtmlexport.cxx b/sw/qa/extras/htmlexport/xhtmlexport.cxx index 218bb4772eb4..f60d8b912fad 100644 --- a/sw/qa/extras/htmlexport/xhtmlexport.cxx +++ b/sw/qa/extras/htmlexport/xhtmlexport.cxx @@ -49,7 +49,7 @@ DECLARE_HTMLEXPORT_TEST(testTdf131812, "tdf131812.odt") sal_uInt64 nLength = pStream->TellEnd(); OString aStream(read_uInt8s_ToOString(*pStream, nLength)); CPPUNIT_ASSERT( - aStream.indexOf(".P1 { font-size:12pt; font-family:\"Liberation Serif\"; " + aStream.indexOf(".P1 { font-size:12pt; font-family:\'Liberation Serif\'; " "writing-mode:horizontal-tb; direction:rtl; text-align:right ! important;}") != -1); } |