mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-25 06:17:33 +00:00
Merge pull request #1307 from rohitsud/patch-1
Allow only one underscore when escaping -->
This commit is contained in:
commit
a171a90403
@ -74,7 +74,7 @@ public class BodierMap implements Bodier {
|
||||
}
|
||||
|
||||
public static String getLinkedEntry(String s) {
|
||||
final Pattern p = Pattern.compile("(\\*[-_]+\\>)");
|
||||
final Pattern p = Pattern.compile("(\\*-+_?\\>)");
|
||||
final Matcher m = p.matcher(s);
|
||||
if (m.find()) {
|
||||
return m.group(1);
|
||||
|
Loading…
Reference in New Issue
Block a user