From afe8acc82adff83895c93de93c3aee889b455565 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Thu, 25 Feb 2016 19:20:16 +0000 Subject: Parse italic document matcher --- lib/style-reader.js | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/style-reader.js') diff --git a/lib/style-reader.js b/lib/style-reader.js index d732181..af6206c 100644 --- a/lib/style-reader.js +++ b/lib/style-reader.js @@ -122,12 +122,14 @@ function documentMatcherRule() { }); var bold = identifierToConstant("b", documentMatchers.bold); + var italic = identifierToConstant("i", documentMatchers.italic); var underline = identifierToConstant("u", documentMatchers.underline); var strikethrough = identifierToConstant("strike", documentMatchers.strikethrough); return lop.rules.firstOf("element type", paragraphOrRun, bold, + italic, underline, strikethrough ); -- cgit v1.2.3