From 628cde48cf54d806508869a9d6f4307efc266ef2 Mon Sep 17 00:00:00 2001 From: Samuel Tardieu Date: Thu, 14 Oct 2021 15:15:25 +0200 Subject: DocBook reader: honor linenumbering attribute The attribute DocBook linenumbering="numbered" attribute on code blocks maps to "numberLines" internally. --- test/docbook-reader.native | 3 +++ 1 file changed, 3 insertions(+) (limited to 'test/docbook-reader.native') diff --git a/test/docbook-reader.native b/test/docbook-reader.native index c8d59ca82..be3819336 100644 --- a/test/docbook-reader.native +++ b/test/docbook-reader.native @@ -266,6 +266,9 @@ Pandoc ] , CodeBlock ( "" , [] , [] ) "sub status {\n print \"working\";\n}" + , CodeBlock + ( "" , [ "numberLines" ] , [] ) + "sub status {\n print \"working with line numbers\";\n}" , CodeBlock ( "" , [] , [] ) "% ls" , Para [ Str "A" , Space , Str "list:" ] , OrderedList -- cgit v1.2.3