Opened 9 years ago

Closed 9 years ago

#13292 closed Bug (fixed)

Protection pattern does not work in attribute in self-closing elements with no space before />

Reported by: Piotrek Koszuliński Owned by:
Priority: Normal Milestone: CKEditor 4.4.8
Component: General Version:
Keywords: Cc:

Description

Based on: https://github.com/ckeditor/ckeditor-dev/pull/185

Test:

<img src="[[image]]" />
<img src="[[image]]"/>

With the following setting:

{
	protectedSource: [
		/\[\[[^\]]+\]\]/g
	]
}

Change History (2)

comment:1 Changed 9 years ago by Piotrek Koszuliński

Status: newconfirmed

comment:2 Changed 9 years ago by Piotrek Koszuliński

Milestone: CKEditor 4.4.8
Resolution: fixed
Status: confirmedclosed

Fixed on master with git:a2ff7bf.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy