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

Fixed XML markup. #1702

Merged
merged 1 commit into from
Dec 2, 2014
Merged

Fixed XML markup. #1702

merged 1 commit into from
Dec 2, 2014

Conversation

rafalwrzeszcz
Copy link
Contributor

This fixes an invalid markup issue that is problematic for XHTML pages that imply strict XML parsing.

Attributes are appended afterwards with space after the attribute but not before it, so the resulted markups looks like this:

<object type="application/x-shockwave-flash"data="...

The space could be added elsewhere, but it's not worth adding it in a loop with additional string concatenation operation and larger script size.

@heff
Copy link
Member

heff commented Dec 2, 2014

Great, thanks!

heff added a commit that referenced this pull request Dec 2, 2014
Fixed Flash object tag markup for strict XML.
@heff heff merged commit 899bc3c into videojs:master Dec 2, 2014
@gkatsev
Copy link
Member

gkatsev commented Dec 2, 2014

Good fix but people still use xhtml? :P

@rafalwrzeszcz
Copy link
Contributor Author

@gkatsev Probably only me ;).

@rafalwrzeszcz rafalwrzeszcz deleted the fix/invalid-markup branch December 10, 2014 09:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants