Skip to content
New issue

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

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

Already on GitHub? # to your account

parser: detect containers, ignore wrappers #15

Open
kapouer opened this issue May 16, 2019 · 0 comments
Open

parser: detect containers, ignore wrappers #15

kapouer opened this issue May 16, 2019 · 0 comments

Comments

@kapouer
Copy link
Member

kapouer commented May 16, 2019

For example, pasting:

<article pubdate="[publication]">
	<aside block-content="aside"></aside>
	<header block-content="header"></header>
	<section class="content" block-content="content"></section>
	<footer block-content="footer"></footer>
</article>

should work even if actual model is

<article class="ui grid" pubdate="[publication]">
	<aside block-content="aside" class="six wide column"></aside>
	<div class="column">
		<header block-content="header"></header>
		<section class="content" block-content="content"></section>
		<footer block-content="footer"></footer>
	</div>
</article>

because block-content attributes are parsed and their content mapped to matching block content.

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

No branches or pull requests

1 participant