Opened 9 years ago

Last modified 8 years ago

#13672 confirmed Bug

Valid characters for Anchor name

Reported by: Fabien Leconte Owned by:
Priority: Normal Milestone:
Component: General Version: 4.0
Keywords: Cc:



The validate function of the element "txtName" of the anchor dialog only test if the input has a value.

According to the following links, it should also tests that the value only contains valid characters for an "id" attribute :

HTML 4 :

HTML 5 :

Steps to reproduce

  1. Create an anchor with "4TESTING PURPOSE" as a value
  2. Click "Ok" button

Expected result

An alert is raised as it is not a valid "id" attribute

Actual result

The content is inserted without any warning.


Best regards.

Change History (2)

comment:1 Changed 9 years ago by Fabien Leconte

Summary: Allowed characters for Anchor nameValid characters for Anchor name

comment:2 Changed 8 years ago by Jakub Ś

Status: newconfirmed
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