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

Add <p> tag around shortcode output #5

Open
marktmcgrath opened this issue Dec 14, 2022 · 0 comments · May be fixed by #13
Open

Add <p> tag around shortcode output #5

marktmcgrath opened this issue Dec 14, 2022 · 0 comments · May be fixed by #13

Comments

@marktmcgrath
Copy link

When using the shortcode in a block theme, the links get output as two separate, inline links but that makes it difficult to do something as simple as center both links on the page.

Semantically, I would think the links should be wrapped in a <p> tag anyway, is that something we can get fixed?

Example before:

<a href="https://wordpress.com/wp/?partner_domain=partner&amp;utm_source=Automattic&amp;utm_medium=colophon&amp;utm_campaign=Concierge%20Referral&amp;utm_term=partner" class="imprint" target="_blank">Proudly powered by WordPress.</a> <a href="https://pressable.com/?utm_source=Automattic&amp;utm_medium=rpc&amp;utm_campaign=Concierge%20Referral&amp;utm_term=concierge" class="imprint" target="_blank">Hosted by Pressable.</a>

Example after:

<p><a href="https://wordpress.com/wp/?partner_domain=partner&amp;utm_source=Automattic&amp;utm_medium=colophon&amp;utm_campaign=Concierge%20Referral&amp;utm_term=partner" class="imprint" target="_blank">Proudly powered by WordPress.</a> <a href="https://pressable.com/?utm_source=Automattic&amp;utm_medium=rpc&amp;utm_campaign=Concierge%20Referral&amp;utm_term=concierge" class="imprint" target="_blank">Hosted by Pressable.</a></p>

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 a pull request may close this issue.

1 participant