Skip to content
This repository was archived by the owner on Mar 8, 2019. It is now read-only.

Conversation

knightdr
Copy link

This is for situations such as attribute='15.5'

@knightdr
Copy link
Author

@bnolan

You're absolutely correct, thanks. I made the appropriate update.

@nevf
Copy link

nevf commented Oct 21, 2013

May I suggest allowing % so width="100%" isn't stripped.

var REG_EXP = /\d+\.?\d*%?/g;

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants