Skip to content
This repository was archived by the owner on Jan 2, 2023. It is now read-only.
This repository was archived by the owner on Jan 2, 2023. It is now read-only.

Segmentation Fault on blockquotes tag if css specified #41

@optyler

Description

@optyler

@optyler commented on Fri Oct 05 2018

Hi,

we just found a segmentation error while converting a local html which contains a blockquote tag AND with a quotes css property defined on it.

<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
    <title>Test</title>
    <style>
      blockquote {
        quotes: none;
      }
    </style>
 </head>

 <body>
   <blockquote>tests</blockquote>
 </body>
<html>
wkhtmltopdf --log-level info index.html index.pdf
Loading pages (1/6)
Erreur de segmentation=========>                             ] 50%

If I remove the quotes: none; property, the conversion works fine.

$> wkhtmltopdf --version
wkhtmltopdf 0.12.5 (with patched qt)

$> cat /etc/*releas*
PRETTY_NAME="Debian GNU/Linux 9 (stretch)"
NAME="Debian GNU/Linux"
VERSION_ID="9"
VERSION="9 (stretch)"
ID=debian

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions