Opened 9 years ago
Last modified 9 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: |
Description
Hi,
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 5 : http://www.w3.org/TR/html5/dom.html#the-id-attribute
Steps to reproduce
- Create an anchor with "4TESTING PURPOSE" as a value
- 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.
Thanks.
Best regards.
Change History (2)
comment:1 Changed 9 years ago by
Summary: | Allowed characters for Anchor name → Valid characters for Anchor name |
---|
comment:2 Changed 9 years ago by
Status: | new → confirmed |
---|---|
Version: | 4.5.3 → 4.0 |