Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/gui/choiceList/renderChoiceName.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { createOwnedElement } from "../../utils/activeWindow";
* and anything outside ASCII. The Unicode line and paragraph separators are
* left to the renderer, since a parser may treat them as line breaks.
*/
const PLAIN_CHARACTERS = /^(?:[a-z0-9 ,.'"?;()-]|[^\x00-\x7f\u2028\u2029])+$/i;
const PLAIN_CHARACTERS = /^[a-z0-9 ,.'"?;()\-\u0080-\u2027\u202a-\u{10ffff}]+$/iu;
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved
/** Openings that still make a list or an indented code block from those characters. */
const BLOCK_OPENING = /^(?:[-\s]|\d+[.)](?:\s|$))/;

Expand Down
Loading