Fix markup detection DocumentWriter.
This commit is contained in:
1 parent
392de61b74
commit
221509520d
2 files changed
+5
-3
No files matched your search
@@ -227,7 +227,7 @@ namespace zaaReloaded2.Formatter
|
||||
StringBuilder _buffer;
|
||||
// Put pattern in parentheses so they will not be discarded by Regex.Split
|
||||
// The splitting pattern must not contain subgroups!
|
||||
static readonly Regex _markupRegex = new Regex(@"(<[^>]+>)");
|
||||
static readonly Regex _markupRegex = new Regex(@"(<[^ >]+>)");
|
||||
static readonly Regex _styleRegex = new Regex(@"<style:(?<style>[^>]+)>");
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user