<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Question2Answer Q&amp;A - Recent questions tagged user-input</title>
<link>https://www.question2answer.org/qa/tag/user-input</link>
<description>Powered by Question2Answer</description>
<item>
<title>Advanced Content Filter: How to discard STYLE attributes and tags from editor?</title>
<link>https://www.question2answer.org/qa/28637/advanced-content-filter-discard-style-attributes-tags-editor</link>
<description>

&lt;div&gt;
	When users copy-paste HTML content onto the coeditor, I would like the editor to accept paragraphs only without any attributes or styles.&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	I tried setting up ckeditor's ACF (advanced content filter) allowedContent config but am having trouble assigning an id to the textarea.&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	Which file should I edit?&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	I am using sama55's CKEditor4 plugin.&lt;/div&gt;</description>
<category>Plugins</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/28637/advanced-content-filter-discard-style-attributes-tags-editor</guid>
<pubDate>Mon, 28 Oct 2013 15:00:48 +0000</pubDate>
</item>
<item>
<title>Permission to modify the questionnaire</title>
<link>https://www.question2answer.org/qa/20357/permission-to-modify-the-questionnaire</link>
<description>

&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;div&gt;
	I need to set that users after submitting their application can no longer change, I set by the admin &quot;that the user must be registered with email and confirmed with a number of points&quot; by setting to 50000, having 100 points, however, a normal user can change it anyway.&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	How can I solve this problem? You should not be more able to modify the application after it has been sent.&lt;/div&gt;


&lt;div&gt;
	&amp;nbsp;&lt;/div&gt;


&lt;div&gt;
	Thanks to all&lt;/div&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/20357/permission-to-modify-the-questionnaire</guid>
<pubDate>Fri, 04 Jan 2013 00:18:56 +0000</pubDate>
</item>
<item>
<title>Tip: Using htmLawed to filter CSS style attributes from posted content (clean user input)</title>
<link>https://www.question2answer.org/qa/18282/using-htmlawed-filter-style-attributes-posted-content-clean</link>
<description>

&lt;p&gt;
	Following my post on &lt;a href=&quot;http://question2answer.org/qa/17870/how-to-modify-htmlawed-php-better-sanitize-clean-html-posts&quot; rel=&quot;nofollow&quot;&gt;How to modify qa-htmLawed.php to better sanitize/clean html posts&lt;/a&gt; I would like to share how to sanitize posted CSS styles.&lt;/p&gt;


&lt;p&gt;
	The class and id attributes you can filter by using the config parameter of htmLawed:
&lt;br&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;$config['deny_attribute'] = 'class, id';&lt;/span&gt;
&lt;br&gt;
	as it has beend described here: &lt;a href=&quot;http://question2answer.org/qa/18265/stricter-sanitizing-changing-htmlawed-config-parameters&quot; rel=&quot;nofollow&quot;&gt;Stricter HTML Sanitizing in q2a by changing htmLawed config parameters&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;
	Now the big task was to filter style attributes that are unwanted by the admin, e.g. margin-top:200px; or the like.&lt;/p&gt;


&lt;p&gt;
	The developer of htmLawed was so nice to &lt;a href=&quot;http://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=695&quot; rel=&quot;nofollow&quot;&gt;help me out&lt;/a&gt;. I implemented the css filter function in &lt;strong&gt;qa-base.php: &lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	1. go to function qa_sanitize_html_hook_tag.&lt;/p&gt;


&lt;p&gt;
	2. There before &lt;span style=&quot;color:#006400;&quot;&gt;&lt;span style=&quot;font-family: lucida sans unicode,lucida grande,sans-serif;&quot;&gt;$html='&amp;lt;'.$element;&lt;/span&gt;&lt;/span&gt; (line 734) you add the following code:&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;color:#0000ff;&quot;&gt;&lt;span style=&quot;font-family: lucida sans unicode,lucida grande,sans-serif;&quot;&gt;// only allow certain css style elements
&lt;br&gt;
	if (isset($attributes['style'])) {
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$css = explode(';', $attributes['style']);
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;$style = array();
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;foreach ($css as $v) {
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if (($p = strpos($v, ':')) &amp;gt; 1 &amp;amp;&amp;amp; $p &amp;lt; strlen($v)) {
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$prop_name = trim(substr($v, 0, $p));
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$prop_val = trim(substr($v, $p+1));
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;if ($prop_name == 'color' || $prop_name == 'background-color' || $prop_name == 'font-weight' || $prop_name == 'text-decoration' || $prop_name == 'width') {
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$style[] = &quot;$prop_name: $prop_val&quot;;
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;};
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;};
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;};
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;if (!empty($style)){
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;$attributes['style'] = implode('; ', $style);
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;}
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;else {
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;unset($attributes['style']);
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;};
&lt;br&gt;
	};
&lt;br&gt;
	// end &lt;/span&gt;&lt;/span&gt;
&lt;br&gt;
	
&lt;br&gt;
	Result: All posted content and read content from the database that hold css styles apart from {color,background-color,font-weight,text-decoration,width} get filtered!&lt;/p&gt;


&lt;p&gt;
	You can, of course, add your own whiteliste styles!&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	PS: The performance is not effected much &quot;&lt;a href=&quot;http://www.bioinformatics.org/phplabware/forum/viewtopic.php?pid=697#p697&quot; rel=&quot;nofollow&quot;&gt;only ~10%-15% (to an overall time of ~16 ms in my setup).&lt;/a&gt;&quot; thanks @patnaik&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;Result (example): &lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;a href=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=16537373728561450369&quot; rel=&quot;nofollow&quot;&gt;&lt;img alt=&quot;htmlawed example 1&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=16537373728561450369&quot; style=&quot;width: 600px; height: 122px;&quot;&gt;&lt;/a&gt;&lt;/p&gt;


&lt;p&gt;
	&lt;a href=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=12122950165452754617&quot; rel=&quot;nofollow&quot;&gt;&lt;img alt=&quot;htmlawed example 2&quot; src=&quot;http://www.question2answer.org/qa/?qa=blob&amp;amp;qa_blobid=12122950165452754617&quot; style=&quot;height: 128px; width: 600px;&quot;&gt;&lt;/a&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/18282/using-htmlawed-filter-style-attributes-posted-content-clean</guid>
<pubDate>Mon, 08 Oct 2012 14:58:05 +0000</pubDate>
</item>
<item>
<title>Tip: Stricter HTML Sanitizing in q2a by changing htmLawed config parameters</title>
<link>https://www.question2answer.org/qa/18265/stricter-sanitizing-changing-htmlawed-config-parameters</link>
<description>

&lt;p&gt;
	I thought I share my changes to make html posts in q2a more secure by stricter sanitizing the data.&lt;/p&gt;


&lt;p&gt;
	In qa-include/&lt;strong&gt;qa-base.php&lt;/strong&gt; from line 705 you find the config for html sanitization:&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;font-family:lucida sans unicode,lucida grande,sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;$safe=htmLawed($html, array(
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;'safe' =&amp;gt; 1,
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;'elements' =&amp;gt; '*+embed+object',
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;'schemes' =&amp;gt; 'href: aim, feed, file, ftp, gopher, http, https, irc, mailto, news, nntp, sftp, ssh, telnet; *:file, http, https; style: !; classid:clsid',
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;'keep_bad' =&amp;gt; 0,
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;'anti_link_spam' =&amp;gt; array('/.*/', ''),
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;'hook_tag' =&amp;gt; 'qa_sanitize_html_hook_tag',
&lt;br&gt;
	));&lt;/span&gt;&lt;/span&gt;
&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	This allows 86 html elements, see &lt;a href=&quot;http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_README.htm#s3.3&quot; rel=&quot;nofollow&quot;&gt;doc here&lt;/a&gt;.
&lt;br&gt;
	&lt;em&gt;@gidgreen: why do you actually add +embed+object to the list, they are already included.&lt;/em&gt;&lt;/p&gt;


&lt;p&gt;
	My new &lt;strong&gt;strict version &lt;/strong&gt;is the following:&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;font-family:lucida sans unicode,lucida grande,sans-serif;&quot;&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;$safe=htmLawed($html, array(
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;'safe' =&amp;gt; 1,
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;// only allow the following html tags&lt;/span&gt;
&lt;br&gt;
	&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;'elements' =&amp;gt; 'img, a, p, br, span, b, strong, i, em, u, sub, sup, strike, table, caption, tbody, tr, td',
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;// only allow ftp, http, https in anchors - no need for classid's attr clsid&lt;/span&gt;
&lt;br&gt;
	&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;'schemes' =&amp;gt; 'href: ftp, http, https; *:file, http, https; style: !',
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;'keep_bad' =&amp;gt; 0,
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;'anti_link_spam' =&amp;gt; array('/.*/', ''),
&lt;br&gt;
	&amp;nbsp;&amp;nbsp; &amp;nbsp;'hook_tag' =&amp;gt; 'qa_sanitize_html_hook_tag',&lt;/span&gt;
&lt;br&gt;
	&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 128, 0);&quot;&gt;// do not allow class and id, they get removed&lt;/span&gt;
&lt;br&gt;
	&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;'deny_attribute' =&amp;gt; 'class, id', &amp;nbsp;&amp;nbsp; &lt;/span&gt;
&lt;br&gt;
	&lt;span style=&quot;color: rgb(0, 0, 255);&quot;&gt;));&lt;/span&gt;&lt;/span&gt;
&lt;br&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	Note: My CKEditor is quite reduced in functionality (&lt;a href=&quot;http://question2answer.org/qa/13255/simple-ckeditor-how-to-modify-it-to-be-simple-solution?show=13475#c13475&quot; rel=&quot;nofollow&quot;&gt;less buttons&lt;/a&gt;), so this code might not suit you. However, I thought one or the other could use it.&lt;/p&gt;


&lt;p&gt;
	Helpful:
&lt;br&gt;
	&lt;a href=&quot;http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/htmLawed_README.htm#s2.2&quot; rel=&quot;nofollow&quot;&gt;1. Configuring htmLawed using the $config parameter&lt;/a&gt;
&lt;br&gt;
	&lt;a href=&quot;http://question2answer.org/qa/17870/how-to-modify-htmlawed-php-better-sanitize-clean-html-posts&quot; rel=&quot;nofollow&quot;&gt;2. How to modify qa-htmLawed.php to better sanitize/clean html posts&lt;/a&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/18265/stricter-sanitizing-changing-htmlawed-config-parameters</guid>
<pubDate>Sun, 07 Oct 2012 11:51:20 +0000</pubDate>
</item>
<item>
<title>How to modify qa-htmLawed.php to better sanitize/clean html posts</title>
<link>https://www.question2answer.org/qa/17870/how-to-modify-htmlawed-php-better-sanitize-clean-html-posts</link>
<description>

&lt;p&gt;
	As I am new to &lt;a href=&quot;http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php&quot; rel=&quot;nofollow&quot;&gt;htmLawed&lt;/a&gt; I have got 5 newbie question regarding the sanitization of certain HTML&amp;nbsp; tags.&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;Question n°1: &lt;/strong&gt;&lt;/p&gt;


&lt;p&gt;
	In q2a, file qa-&lt;strong&gt;htmLawed.php &lt;/strong&gt;on line 20 we have:&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;text-decoration: line-through;&quot;&gt;$e = array('a'=&amp;gt;1, 'abbr'=&amp;gt;1, 'acronym'=&amp;gt;1, 'address'=&amp;gt;1, 'applet'=&amp;gt;1, 'area'=&amp;gt;1, 'b'=&amp;gt;1, 'bdo'=&amp;gt;1, 'big'=&amp;gt;1, 'blockquote'=&amp;gt;1, 'br'=&amp;gt;1, 'button'=&amp;gt;1, 'caption'=&amp;gt;1, 'center'=&amp;gt;1, 'cite'=&amp;gt;1, 'code'=&amp;gt;1, 'col'=&amp;gt;1, 'colgroup'=&amp;gt;1, 'dd'=&amp;gt;1, 'del'=&amp;gt;1, 'dfn'=&amp;gt;1, 'dir'=&amp;gt;1, 'div'=&amp;gt;1, 'dl'=&amp;gt;1, 'dt'=&amp;gt;1, 'em'=&amp;gt;1, 'embed'=&amp;gt;1, 'fieldset'=&amp;gt;1, 'font'=&amp;gt;1, 'form'=&amp;gt;1, 'h1'=&amp;gt;1, 'h2'=&amp;gt;1, 'h3'=&amp;gt;1, 'h4'=&amp;gt;1, 'h5'=&amp;gt;1, 'h6'=&amp;gt;1, 'hr'=&amp;gt;1, 'i'=&amp;gt;1, 'iframe'=&amp;gt;1, 'img'=&amp;gt;1, 'input'=&amp;gt;1, 'ins'=&amp;gt;1, 'isindex'=&amp;gt;1, 'kbd'=&amp;gt;1, 'label'=&amp;gt;1, 'legend'=&amp;gt;1, 'li'=&amp;gt;1, 'map'=&amp;gt;1, 'menu'=&amp;gt;1, 'noscript'=&amp;gt;1, 'object'=&amp;gt;1, 'ol'=&amp;gt;1, 'optgroup'=&amp;gt;1, 'option'=&amp;gt;1, 'p'=&amp;gt;1, 'param'=&amp;gt;1, 'pre'=&amp;gt;1, 'q'=&amp;gt;1, 'rb'=&amp;gt;1, 'rbc'=&amp;gt;1, 'rp'=&amp;gt;1, 'rt'=&amp;gt;1, 'rtc'=&amp;gt;1, 'ruby'=&amp;gt;1, 's'=&amp;gt;1, 'samp'=&amp;gt;1, 'script'=&amp;gt;1, 'select'=&amp;gt;1, 'small'=&amp;gt;1, 'span'=&amp;gt;1, 'strike'=&amp;gt;1, 'strong'=&amp;gt;1, 'sub'=&amp;gt;1, 'sup'=&amp;gt;1, 'table'=&amp;gt;1, 'tbody'=&amp;gt;1, 'td'=&amp;gt;1, 'textarea'=&amp;gt;1, 'tfoot'=&amp;gt;1, 'th'=&amp;gt;1, 'thead'=&amp;gt;1, 'tr'=&amp;gt;1, 'tt'=&amp;gt;1, 'u'=&amp;gt;1, 'ul'=&amp;gt;1, 'var'=&amp;gt;1); // 86/deprecated+embed+ruby&lt;/span&gt;&lt;/p&gt;


&lt;p&gt;
	Do I have to change 1 to 0 to disallow certain elements? → &lt;strong&gt;No,&lt;/strong&gt; you use the &lt;a href=&quot;http://question2answer.org/qa/18265/stricter-sanitizing-changing-htmlawed-config-parameters&quot; rel=&quot;nofollow&quot;&gt;config parameters&lt;/a&gt; for that, no need to change the source of qa-htmlawed.php!
&lt;br&gt;
	
&lt;br&gt;
	
&lt;br&gt;
	&lt;strong&gt;Question n°2:&lt;/strong&gt; How can I remove all style=&quot;...&quot; attributes but allowed ones?&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;Question n°3:&lt;/strong&gt; Are empty style-elements removed automatically?&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;Question n°4:&lt;/strong&gt; How can class=&quot;&quot; and id=&quot;&quot; attributes be removed completely (what settings do we need)?&lt;/p&gt;


&lt;p&gt;
	&lt;strong&gt;Question n°5:&lt;/strong&gt; How can we remove empty tags, such as &amp;lt;b&amp;gt;&amp;lt;/b&amp;gt; or &amp;lt;p&amp;gt;&amp;lt;/p&amp;gt;?&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	&lt;span style=&quot;font-size:9px;&quot;&gt;Related question: &lt;a href=&quot;http://www.question2answer.org/qa/17798/has-somebody-used-htmlawed-to-clean-user-input-in-q2a&quot; rel=&quot;nofollow&quot;&gt;http://www.question2answer.org/qa/17798/has-somebody-used-htmlawed-to-clean-user-input-in-q2a&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/17870/how-to-modify-htmlawed-php-better-sanitize-clean-html-posts</guid>
<pubDate>Thu, 20 Sep 2012 06:21:52 +0000</pubDate>
</item>
<item>
<title>Has somebody used htmLawed to clean user input in q2a?</title>
<link>https://www.question2answer.org/qa/17798/has-somebody-used-htmlawed-to-clean-user-input-in-q2a</link>
<description>

&lt;p&gt;
	&lt;a href=&quot;http://question2answer.org/qa/17780/is-posted-html-content-sanitized-what-file-is-doing-it&quot; rel=&quot;nofollow&quot;&gt;As I saw&lt;/a&gt; q2a uses &lt;a href=&quot;http://www.bioinformatics.org/phplabware/internal_utilities/htmLawed/index.php&quot; rel=&quot;nofollow&quot;&gt;htmLawed&lt;/a&gt; to clean user input.&lt;/p&gt;


&lt;p&gt;
	As some of my users copy and paste from other sites, I get class and id attributes (as well as span tags with different css-styles) posted with the content that I want to remove.&lt;/p&gt;


&lt;p&gt;
	I tried &lt;a href=&quot;http://question2answer.org/qa/17781/tip-cleaning-pasted-html-text-with-ckeditor-using-regex&quot; rel=&quot;nofollow&quot;&gt;fixing pasted css styles with ckeditor&lt;/a&gt; that was working quite well (but not 100% satisfactory).&lt;/p&gt;


&lt;p&gt;
	Now I'd like to know if somebody used htmLawed's features to clean user input. Any experience would be helpful!&lt;/p&gt;


&lt;p&gt;
	&amp;nbsp;&lt;/p&gt;


&lt;p&gt;
	PS: Maybe the removal of class and id attributes can be implemented in the next release of q2a?&lt;/p&gt;</description>
<category>Q2A Core</category>
<guid isPermaLink="true">https://www.question2answer.org/qa/17798/has-somebody-used-htmlawed-to-clean-user-input-in-q2a</guid>
<pubDate>Sun, 16 Sep 2012 12:31:54 +0000</pubDate>
</item>
</channel>
</rss>