okular/autotests/data
bob sayshilol 0bc8c76c3c Fix strikethrough rendering in markdown converter
Previously the `<del>` tag that Discount emits would be removed by Qt
since it's not in the subset of HTML that it understands. It does know
about `<s>` though, so replace `<del>` with `<s>` to render strikethroughs
correctly.

Note that I couldn't get Okular to build locally (PEBCAK issue) so I split out this file to debug it. I've tested against http://daringfireball.net/projects/downloads/MarkdownTest_1.0.zip and ff866f73d4/tests/data and the only difference is that trailing whitespace is now trimmed from the end of a line:
```diff
8c8
< <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Dashes:</p>
---
> <p style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">Dashes: </p>
```
A quick search suggests this isn't a problem though https://stackoverflow.com/a/27026403:
> Within block tags (i.e. `<p>`, `<h1>`, `<div>`, ...) spaces as well as line breaks at the beginning or end of the tags should always be ignored (i.e. `<p>test</p>` should look the same as `<p> test </p>`).

I also tried https://doc.qt.io/qt-5/qtextdocument.html#setMarkdown which solves the strikethrough problem, though there are many visible differences with that approach. Most notably, everything is squashed together and code blocks lose their formatting.
2024-04-22 17:00:02 +00:00
..
fake_okular_certstore Make signunsignedfieldtest pass again 2022-11-20 01:25:46 +01:00
300x1500.png Add support for image sizes in markdowns 2020-08-22 23:32:27 +00:00
1500x300.png Add support for image sizes in markdowns 2020-08-22 23:32:27 +00:00
additionalFormActions.pdf Add test for additional form actions 2018-05-30 10:05:21 +02:00
checkbox_ro.pdf Add test for read only set and checkbox calculate 2018-03-20 23:19:29 +01:00
contents.epub Rename to autotests 2014-10-19 18:21:07 +02:00
fieldFormat.pdf Add test for field number formatting 2023-07-10 09:03:19 +00:00
file1-docdata.xml This test file was lost at some point 2017-09-11 19:52:04 +02:00
file1.pdf Rename to autotests 2014-10-19 18:21:07 +02:00
file1.pdf.gz Add pdf.gz file save test 2018-02-06 00:32:15 +01:00
file2.pdf Make parttest pass by adding the file that it wants to open 2015-11-28 16:04:57 +00:00
formattest.pdf Implemented validate actions and made formwidgets leave these actions to QLineEdit::Event 2019-08-22 22:38:10 +00:00
formSamples.pdf Rename to autotests 2014-10-19 18:21:07 +02:00
hello_with_dummy_signature.pdf PDF: Allow signing unsigned signature fields 2022-01-24 13:18:36 +01:00
imageSizes.md Add support for image sizes in markdowns 2020-08-22 23:32:27 +00:00
imageUrlsWithSpecialChars.md Markdown: Fix images with special chars in URLs not loaded 2022-04-03 16:02:44 +00:00
kartöffelchen.jpg Markdown: Fix images with special chars in URLs not loaded 2022-04-03 16:02:44 +00:00
keystroketest.pdf Implement keystroke commit events 2022-03-07 22:14:26 +00:00
kjsfunctionstest.pdf Implemented the getOCGs and OCGs methods to support layer changing by JavaScript. 2019-07-20 12:04:59 +02:00
pdf_with_internal_links.pdf Fix: Viewport coords normalized w.r.t. full page 2021-04-20 07:48:51 +02:00
pdf_with_internal_links.tex Fix: Viewport coords normalized w.r.t. full page 2021-04-20 07:48:51 +02:00
pdf_with_links.pdf Interact with hyperlinks in TextSelect mode 2017-10-11 15:03:36 +02:00
pdf_with_signature.pdf Implement digital signature support for PDF 2019-01-10 23:13:54 +01:00
potato.jpg Add missing test file 2017-11-13 10:16:25 +01:00
protected.pdf Overhaul annotations UX 2020-06-04 13:01:31 +00:00
RequestFullScreen.pdf Test whether documents that request fullscreen are handled properly 2020-05-16 22:24:43 +00:00
simple-multipage.pdf Fix inconsistent viewport positioning in PageView 2018-11-29 21:41:43 +01:00
simple-multipage.tex Fix inconsistent viewport positioning in PageView 2018-11-29 21:41:43 +01:00
simpleCalculate.pdf Add AFNumber_Format and l10n AFSimple_Calculate 2020-03-08 13:05:36 +01:00
strikethrough.md Fix strikethrough rendering in markdown converter 2024-04-22 17:00:02 +00:00
synctextest.pdf parttext: Don't require pdflatex to run test 2022-11-19 20:39:51 +01:00
synctextest.synctex.gz parttext: Don't require pdflatex to run test 2022-11-19 20:39:51 +01:00
synctextest.tex Rename to autotests 2014-10-19 18:21:07 +02:00
tocreload.pdf Rename to autotests 2014-10-19 18:21:07 +02:00
visibilitytest.pdf Add test for visibility changes 2018-04-23 23:58:11 +02:00