mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-21 20:47:08 -05:00
Merge pull request #11961 from overleaf/mj-helpful-graphics-error-alternatives
[web] Handle more types of undefined control sequence error messages GitOrigin-RevId: c6fc0c4d87febcda2521e182df56dcebaed58293
This commit is contained in:
parent
2c9ae7cc81
commit
fec6b8e4f1
1 changed files with 2 additions and 1 deletions
|
@ -45,7 +45,8 @@ const rules = [
|
|||
{
|
||||
ruleId: 'hint_undefined_control_sequence',
|
||||
regexToMatch: /Undefined control sequence/,
|
||||
contentRegex: /^l\.[0-9]+\s*(\\\S+)/,
|
||||
contentRegex:
|
||||
/^(?:l\.[0-9]+|<(?:recently read|inserted text|to be read again)>)\s*(\\\S+)/,
|
||||
improvedTitle: (currentTitle, details) => {
|
||||
if (details?.length && packageSuggestions.has(details[0])) {
|
||||
const command = details[0]
|
||||
|
|
Loading…
Reference in a new issue