Skip to content

Commit

Permalink
next try ;-)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbri committed Nov 10, 2024
1 parent d4999bc commit fe46139
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
public class Document extends Node {

private static final Log LOG = LogFactory.getLog(Document.class);
private static final Pattern TAG_NAME_PATTERN = Pattern.compile("[a-zA-z1-6:]+");
private static final Pattern TAG_NAME_PATTERN = Pattern.compile("[a-zA-z][a-zA-z1-6:]*");
// all as lowercase for performance
/** https://developer.mozilla.org/en/Rich-Text_Editing_in_Mozilla#Executing_Commands */
private static final Set<String> EXECUTE_CMDS_FF = new HashSet<>();
Expand Down

0 comments on commit fe46139

Please sign in to comment.