mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02: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:
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user