[okular] [Bug 444229] New: No rendering of fence code block

Christian Deligant bugzilla_noreply at kde.org
Fri Oct 22 09:43:36 BST 2021


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

            Bug ID: 444229
           Summary: No rendering of fence code block
           Product: okular
           Version: 1.9.3
          Platform: Kubuntu Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: markdown backend
          Assignee: okular-devel at kde.org
          Reporter: christian at deligant.net
  Target Milestone: ---

Created attachment 142759
  --> https://bugs.kde.org/attachment.cgi?id=142759&action=edit
Example of wrong rendering and expected rendering

SUMMARY
The markdown for fence-block-code is not rendered correctly

STEPS TO REPRODUCE
1. write the following code in a demo.md document
* per OGNI sito in cui si vuole https spostare la parte di definizione nel
vhost:443 e mettere nel vhost:80
```
<VirtualHost *:80>
        ServerName **SERVERNAME**
        <IfModule mod_rewrite.c>
                RewriteEngine on
                RewriteCond %{REQUEST_URI} !^/.well-known/acme-challenge/.*
                RewriteRule ^/?(.*) https://**SERVERNAME**/$1 [L,R,NE]
        </IfModule>
        <IfModule !mod_rewrite.c>
                Redirect permanent / https://**SERVERNAME**/
        </IfModule>

</VirtualHost>
```
2. Open the document in okular (repo package from kubuntu 20.04)

OBSERVED RESULT
The block is rendered as an inline string (top of the attached image)

EXPECTED RESULT
The block should be rendered as a code block (bottom of the attached image)

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 20.04 vanilla
(available in About System)
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.68.0
Qt Version: 5.12.8

ADDITIONAL INFORMATION
Okular Backend Markdown version 0.1.0 by Julian Wolff
Kernel: 5.11.0-38-generic 64bit
Processor: 12xcore i7-10750H CPU @ 2.6 GHz
RAM: 31.1 GiB

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


More information about the Okular-devel mailing list