Link validation regex with node title containing a quote

Created on 24 March 2025, about 1 month ago

Problem/Motivation

I am encountering an issue when I try to link an existing node with quotes in his title.
The field will have a value like this : '"My node ""quote"" (14)"'.
The regex in place will not check for the last quote after the id of the node in parenthesis.

Steps to reproduce

* Create a node with a title having a quote and save it.
* Edit a node with an internal link referring to the node you just created.
* The regex fails when trying to save.

Proposed resolution

Modify the regex to check for the last quote in the value of the link.

🐛 Bug report
Status

Active

Version

4.1

Component

Code

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024