From 8faad89e8601e188e551af852e679c6d9b61990d Mon Sep 17 00:00:00 2001 From: Dietmar Maurer Date: Tue, 18 Oct 2016 13:31:38 +0200 Subject: [PATCH] use the html5 backend for asciidoc --- Makefile | 2 +- asciidoc-pve.in | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2681a46..d0474aa 100644 --- a/Makefile +++ b/Makefile @@ -68,7 +68,7 @@ INDEX_INCLUDES= \ pve-admin-guide.epub \ $(sort $(addsuffix .html, ${MANUAL_PAGES}) ${CHAPTER_LIST}) -ADOC_STDARG= -a icons -a data-uri -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}" +ADOC_STDARG= -b html5 -a icons -a data-uri -a "date=$(shell date)" -a "revnumber=${DOCRELEASE}" BROWSER?=xdg-open diff --git a/asciidoc-pve.in b/asciidoc-pve.in index 97c5bf2..5ad2a71 100644 --- a/asciidoc-pve.in +++ b/asciidoc-pve.in @@ -372,7 +372,7 @@ sub compile_asciidoc { $attributes->{icons} = undef; $attributes->{'data-uri'} = undef; - my $cmd = ['asciidoc']; + my $cmd = ['asciidoc', '-b', 'html5']; push @$cmd, '-s' if ($env eq 'wiki') || (($env eq 'manvolnum') && ($man_target eq 'wiki')); -- 2.39.2