diff options
author | Stuart Rackham <srackham@methods.co.nz> | 2008-12-02 22:37:34 +1300 |
---|---|---|
committer | Stuart Rackham <srackham@methods.co.nz> | 2008-12-02 22:37:34 +1300 |
commit | c14fc166a77343067ecd75e02e0d7b8d9ceb75a4 (patch) | |
tree | ed7d7b9fcff892de3a982ebac4e96d60a85273cc /asciidoc.conf | |
parent | 5de4d03832722c969b1b5eb0ae2fd7454154de0c (diff) | |
download | asciidoc-c14fc166a77343067ecd75e02e0d7b8d9ceb75a4.tar.gz |
FIXED: Text like &...; was sometimes mistaken for an entity reference -- tightened up entity reference matching.
Diffstat (limited to 'asciidoc.conf')
-rw-r--r-- | asciidoc.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/asciidoc.conf b/asciidoc.conf index a204cdf..f0d358a 100644 --- a/asciidoc.conf +++ b/asciidoc.conf @@ -134,8 +134,8 @@ monospacedwords= \\<\==<=
# Arbitrary entity references.
-(?<!\\)&([#a-zA-Z]\S*?;)=&\1
-\\(&[#a-zA-Z]\S*?;)=\1
+(?<!\\)&([:_#a-zA-Z][:_.\-\w]*?;)=&\1
+\\(&[:_#a-zA-Z][:_.\-\w]*?;)=\1
#-----------
# Paragraphs
|