[okular] [Bug 404616] New: Okular turns "(C)" into copyright symbol iin markdown document

Peter Ped Helcmanovsky bugzilla_noreply at kde.org
Wed Feb 20 19:46:57 GMT 2019


https://bugs.kde.org/show_bug.cgi?id=404616

            Bug ID: 404616
           Summary: Okular turns "(C)" into copyright symbol iin markdown
                    document
           Product: okular
           Version: 1.6.2
          Platform: Neon Packages
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: okular-devel at kde.org
          Reporter: ped at 7gods.org
  Target Milestone: ---

Created attachment 118232
  --> https://bugs.kde.org/attachment.cgi?id=118232&action=edit
Test Markdown file showing the reported behaviour

SUMMARY

Okular does show text "(C)" in Markdown document as copyright symbol (which
interferes with technical documentation about assembly instructions of Z80
CPU).

It is not part of original Markdown syntax, but it seems to be introduced by
the "discount" library used for Markdown in Okular, which includes also
"smartypants" substitutions, where the (C) substitute is defined.

STEPS TO REPRODUCE
1. Open the attached "test_c.md" in Okular

OBSERVED RESULT

The text "OUT (C),B" shows copyright symbol instead of text.

ADDITIONAL INFORMATION

It is possible to configure "discount" library to NOT do smartypants
substitutions (command line option "-f nopants" or there is some code define
`MKD_NOPANTS`), but the only option in Okular backend configuration for
Markdown  is the font...

So it seems it would be possible to add the smartypant filtering as option in
backend configuration, making it by default ON like it is now (I can easily
admit my issue is somewhat rare... but real).

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Okular-devel mailing list