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

Use html attributes as options #7

Merged
merged 1 commit into from
May 18, 2018
Merged

Conversation

jproctor
Copy link
Contributor

Fixes #6 .

The embed code is looking for $options['htmlattributes'], but $options only has keys originaltext, trusted, and embedorblank.

This branch parses $options['originaltext'] to identify the HTML attributes (if they weren’t already passed in) so the existing code can work as intended.

@kabalin
Copy link
Contributor

kabalin commented May 18, 2018

@jproctor may I ask you change the commit message to reflect the fix. e.g. Fix url attributes parsing (issue #6). Thanks again for working on this.

@jproctor
Copy link
Contributor Author

jproctor commented May 18, 2018

@kabalin Done.

And thanks for writing it to start with.

@kabalin kabalin merged commit 540d731 into lucisgit:master May 18, 2018
@kabalin
Copy link
Contributor

kabalin commented May 18, 2018

No probs ;) Lots of things were contributed though, this extra url attributes feature for example.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants