mirror of
https://github.com/lise-henry/crowbook
synced 2024-11-18 00:13:55 +01:00
fixed html escaping of title/author in templates
This commit is contained in:
parent
3accc203d9
commit
10cdd50322
@ -12,7 +12,7 @@
|
||||
<div id="toc">
|
||||
<h1 id="toc-title">{{title}}</h1>
|
||||
<ol class="toc">
|
||||
{{{content}}}
|
||||
{{{{content}}}}
|
||||
</ol>
|
||||
</div>
|
||||
</body>
|
||||
|
@ -1,14 +1,14 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{lang}}" lang="{{lang}}">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{{lang}}}" lang="{{{lang}}}">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
<meta name="generator" content="crowbook" />
|
||||
<title>{{{chapter_title}}}</title>
|
||||
<title>{{chapter_title}}</title>
|
||||
<link rel="stylesheet" type="text/css" href="stylesheet.css" />
|
||||
</head>
|
||||
<body xml:lang="{{lang}}" lang="{{lang}}">
|
||||
<body xml:lang="{{{lang}}}" lang="{{{lang}}}">
|
||||
{{{content}}}
|
||||
</body>
|
||||
</html>
|
||||
|
@ -29,8 +29,8 @@
|
||||
</office:automatic-styles>
|
||||
<office:body>
|
||||
<office:text>
|
||||
<text:p text:style-name="Title">{{{title}}}</text:p>
|
||||
<text:p text:style-name="Heading_20_2.author">{{{author}}}</text:p>
|
||||
<text:p text:style-name="Title">{{title}}</text:p>
|
||||
<text:p text:style-name="Heading_20_2.author">{{author}}</text:p>
|
||||
{{{content}}}
|
||||
</office:text>
|
||||
</office:body>
|
||||
|
@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="generator" content="crowbook">
|
||||
<meta name="author" content="{{author}}">
|
||||
<meta name="author" content="{{{author}}}">
|
||||
<title>{{title}}</title>
|
||||
<style type = "text/css">
|
||||
{{{style}}}
|
||||
|
Loading…
Reference in New Issue
Block a user