commit ad8b479c71036e24a027ed2590df50ee1263d156
Author: Richard Heck <[email protected]>
Date: Sat Jul 30 23:17:15 2016 -0400
Activate export of chess diagrams for XHTML.
(cherry picked from commit 0b8c6bbbf83aa21e01f31693ae1d9b421293ef66)
---
lib/external_templates | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/lib/external_templates b/lib/external_templates
index e9cd9a7..681b7ee 100644
--- a/lib/external_templates
+++ b/lib/external_templates
@@ -314,6 +314,11 @@ Template ChessDiagram
Format DocBook
Product "[Chess: $$AbsOrRelPathMaster$$Basename]"
FormatEnd
+ Format XHTML
+ Product "<pre>$$Contents(\"$$AbsPath$$Basename.asc\")</pre>"
+ UpdateFormat asciichess
+ UpdateResult "$$AbsPath$$Basename.asc"
+ FormatEnd
TemplateEnd