Opened 4 years ago

Closed 4 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 4 years ago by Piotrek Koszuliński

Status: newconfirmed

comment:2 Changed 4 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 – 2017 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy