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

Allow html tags between the opening and closing shortcode tags #43

Open
javornikolov opened this issue Feb 19, 2017 · 3 comments
Open

Comments

@javornikolov
Copy link

I want to display a label with an embedded hyperlink in the following way:

[acceptance your-terms-acceptance default:on]I agree to follow <a href="http://here-are-the-rules" target="_blank">the rules</a> and to behave well[/acceptance]

However the hyperlink is not rendered but it's definition (with the tags) is displayed as plain text.

It would be good if it's possible to render embedded html tags within thee shortcode blocks.

@felixarntz felixarntz self-assigned this Feb 20, 2017
@schneidr
Copy link

I can't confirm this. Links between the [acceptence] tags are rendered properly (using smart-magazine theme). Maybe a problem in your theme?

@javornikolov
Copy link
Author

We're using Attractor Theme: http://www.highgradelab.com/

Or it might be something related to the other fields in our form... I'll try again something simpler. Or if you may share your test-case (if it's simple enough) - I can try it on our site too.

@javornikolov
Copy link
Author

I just installed wordpress from scratch (latest version) with smart-magazine theme. The problem is reproduced:

contact-form-acceptance-with-link

Here is the contact form code:

[text* your-name]Your Name[/text*]
[email* your-email]Your Email[/email*]
[text your-subject]Subject[/text]
[acceptance your-terms-acceptance default:on]I agree to follow <a href="https://github.com/agis-/git-style-guide" target="_blank">the rules</a> and to behave well[/acceptance]
[textarea your-message]Your Message[/textarea]
[submit "Send"]

The page itself is as simple as:

[contact-form-7 id="9" title="Contact form 1"]

@felixarntz felixarntz removed their assignment Feb 21, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants