mirror of
https://github.com/octoleo/plantuml.git
synced 2024-11-25 14:27: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) {
|
public static String getLinkedEntry(String s) {
|
||||||
final Pattern p = Pattern.compile("(\\*[-_]+\\>)");
|
final Pattern p = Pattern.compile("(\\*-+_?\\>)");
|
||||||
final Matcher m = p.matcher(s);
|
final Matcher m = p.matcher(s);
|
||||||
if (m.find()) {
|
if (m.find()) {
|
||||||
return m.group(1);
|
return m.group(1);
|
||||||
|
Loading…
Reference in New Issue
Block a user