Closes #12
diff --git a/cli/pom.xml b/cli/pom.xml
index 9f65782..e32fd7f 100644
--- a/cli/pom.xml
+++ b/cli/pom.xml
@@ -19,7 +19,7 @@
<parent>
<groupId>org.tautua.markdownpapers</groupId>
<artifactId>markdownpapers-parent</artifactId>
- <version>1.2.1</version>
+ <version>1.2.2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/core/pom.xml b/core/pom.xml
index 4fe09e2..f1f4653 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -19,7 +19,7 @@
<parent>
<groupId>org.tautua.markdownpapers</groupId>
<artifactId>markdownpapers-parent</artifactId>
- <version>1.2.1</version>
+ <version>1.2.2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/core/src/main/jjtree/Markdown.jjt b/core/src/main/jjtree/Markdown.jjt
index 59d2cae..b0a3328 100644
--- a/core/src/main/jjtree/Markdown.jjt
+++ b/core/src/main/jjtree/Markdown.jjt
@@ -1038,16 +1038,24 @@
t = <CHAR_SEQUENCE>
| t = <SPACE>
| t = <AMPERSAND>
- | t = <CODE_SPAN>
+ | t = <BACKSLASH>
+ | t = <BACKTICK>
+ | t = <BANG>
+ | t = <COLON>
+ | t = <EOL>
+ | t = <EQ>
| t = <ESCAPED_CHAR>
| t = <GT>
| t = <LPAREN>
- | t = <LT>
+ | t = <MINUS>
+ | t = <NUMBERING>
+ | t = <PLUS>
| t = <RPAREN>
+ | t = <SHARP>
+ | t = <SLASH>
+ | t = <STAR>
| t = <TAB>
- | t = "/"
- | t = "\\"
- | t = "`"
+ | t = <UNDERSCORE>
) { return t; }
}
diff --git a/core/src/test/resources/others/images.html b/core/src/test/resources/others/images.html
index b13db79..9ff9653 100644
--- a/core/src/test/resources/others/images.html
+++ b/core/src/test/resources/others/images.html
@@ -2,4 +2,6 @@
<p><img alt="alt" src="path/to/image2.png" title="title"/></p>
-<p><img alt="alt" src="path/to/image.png"/></p>
\ No newline at end of file
+<p><img alt="alt" src="path/to/image.png"/></p>
+
+<p><img src="path/to/my-photo.png" alt="alt text"/></p>
\ No newline at end of file
diff --git a/core/src/test/resources/others/images.text b/core/src/test/resources/others/images.text
index 650ebea..d0e3132 100644
--- a/core/src/test/resources/others/images.text
+++ b/core/src/test/resources/others/images.text
@@ -3,4 +3,6 @@
[id]: path/to/image2.png "title"
![alt][id]
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/core/src/test/resources/others/tags.html b/core/src/test/resources/others/tags.html
index 38b8bc8..6b2b7ac 100644
--- a/core/src/test/resources/others/tags.html
+++ b/core/src/test/resources/others/tags.html
@@ -1,4 +1,4 @@
-<div>
+<div class="custom-class">
<p>
ABC
</p>
diff --git a/core/src/test/resources/others/tags.text b/core/src/test/resources/others/tags.text
index 1301e7b..4c837f1 100644
--- a/core/src/test/resources/others/tags.text
+++ b/core/src/test/resources/others/tags.text
@@ -1,4 +1,4 @@
-<div>
+<div class="custom-class">
<p>
ABC
</p>
diff --git a/doxia-module/pom.xml b/doxia-module/pom.xml
index 686cabb..5698fe3 100644
--- a/doxia-module/pom.xml
+++ b/doxia-module/pom.xml
@@ -4,7 +4,7 @@
<parent>
<groupId>org.tautua.markdownpapers</groupId>
<artifactId>markdownpapers-parent</artifactId>
- <version>1.2.1</version>
+ <version>1.2.2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
<groupId>org.tautua.markdownpapers</groupId>
diff --git a/parent/pom.xml b/parent/pom.xml
index c7c95a3..e72b8fb 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -19,7 +19,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.tautua.markdownpapers</groupId>
<artifactId>markdownpapers-parent</artifactId>
- <version>1.2.1</version>
+ <version>1.2.2</version>
<name>MarkdownPapers Parent POM</name>
<description>Markdown parser and transformer</description>
<url>http://markdown.tautua.org</url>
diff --git a/pom.xml b/pom.xml
index 0593af5..7721bb5 100644
--- a/pom.xml
+++ b/pom.xml
@@ -19,7 +19,7 @@
<parent>
<groupId>org.tautua.markdownpapers</groupId>
<artifactId>markdownpapers-parent</artifactId>
- <version>1.2.1</version>
+ <version>1.2.2</version>
<relativePath>parent</relativePath>
</parent>
<groupId>org.tautua.markdownpapers</groupId>
diff --git a/www/pom.xml b/www/pom.xml
index d42c6e1..8c912d1 100644
--- a/www/pom.xml
+++ b/www/pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.tautua.markdownpapers</groupId>
<artifactId>markdownpapers-parent</artifactId>
- <version>1.2.1</version>
+ <version>1.2.2</version>
<relativePath>../parent/pom.xml</relativePath>
</parent>
<groupId>org.tautua.markdownpapers</groupId>