Permalink
Browse files

Add missing HTML entity class

  • Loading branch information...
jelovirt committed Sep 28, 2017
1 parent 442bfc1 commit e56e3b4b13e075e31f05dd37f96b64967b985470
Showing with 21 additions and 0 deletions.
  1. +1 −0 .gitignore
  2. +20 −0 src/main/java/com/elovirta/dita/markdown/renderer/Entities.java
View
@@ -3,3 +3,4 @@
build/
src/main/resources/dita2markdown.xsl
src/main/resources/map2markdown-cover.xsl
out
@@ -0,0 +1,20 @@
package com.elovirta.dita.markdown.renderer;
import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;
public class Entities {
public static final Properties ENTITIES;
static {
ENTITIES = new Properties();
try (InputStream in = Entities.class.getResourceAsStream("/entities.properties")) {
ENTITIES.load(in);
} catch (IOException e) {
throw new RuntimeException(e);
}
}
}

0 comments on commit e56e3b4

Please sign in to comment.