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

textarea control is broken with HTML content #1694

Closed
tutv opened this issue Dec 8, 2017 · 0 comments
Closed

textarea control is broken with HTML content #1694

tutv opened this issue Dec 8, 2017 · 0 comments
Milestone

Comments

@tutv
Copy link
Contributor

tutv commented Dec 8, 2017

Issue description:

If I insert an HTML content, example:

<a href="#">Hello link</a>

After saving, content is changed:
fsovv6kyr7oj2mnxqgn0yq

Version used:

3.0.18

Using theme_mods or options?

theme_mods

Code to reproduce the issue (config + field(s))

Kirki::add_field( 'theme_config_id', array(
	'type'     => 'textarea',
	'settings' => 'my_setting',
	'label'    => __( 'Textarea Control', 'textdomain' ),
	'section'  => 'section_id',
	'default'  => '<a href="#">Hello link</a>',
	'priority' => 10,
) );
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

No branches or pull requests

2 participants