Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate width attribute (number + unit) #119

Merged
merged 1 commit into from
Dec 2, 2023
Merged

Conversation

tomschr
Copy link
Contributor

@tomschr tomschr commented Dec 2, 2023

A width attribute restricts possible values. Numbers must be positive, units can be "%", "mm", "cm", "in", and "*".

Not allowed are:

  • Single numbers without a unit
  • Numbers starting with zero followed by another digit
  • Spaces between number and unit
  • Negative numbers

@tomschr tomschr added bug 🐛 Something isn't working as expected geekodoc 2️⃣ For GeekoDoc version2 only labels Dec 2, 2023
@tomschr tomschr self-assigned this Dec 2, 2023
@tomschr tomschr force-pushed the 103-width-attribute branch 2 times, most recently from 0ca8a39 to 66ef124 Compare December 2, 2023 06:54
A width attribute restricts possible values. Numbers must
be positive, units can be "%", "mm", "cm", "in", and "*".

Not allowed are:
 * Single numbers without a unit
 * Numbers starting with zero followed by another digit
 * Spaces between number and unit
 * Negative numbers
@tomschr tomschr linked an issue Dec 2, 2023 that may be closed by this pull request
@tomschr tomschr merged commit e2c4562 into main Dec 2, 2023
1 check passed
@tomschr tomschr deleted the 103-width-attribute branch December 2, 2023 06:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working as expected geekodoc 2️⃣ For GeekoDoc version2 only
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Validate width attribute in imagedata
1 participant