1

Topic: Allowing 'equalto' in 'input'

Hi,

htmlawed removing equalto element into input type text.

before convert
<input id="captcha" name="captcha" equalto="#captchaString" title="Please enter the same value as image." type="text" />

after convert
<input id="captcha" name="captcha" title="Please enter the same value as image." type="text" />

reply me solution

2

Re: Allowing 'equalto' in 'input'

'equalto' is not a standard HTML attribute, and so gets removed.

htmLawed is meant to 'purify' HTML for standards, security, etc. It can deal with non-standard HTML but only to a certain degree.

If the input text your software deals with has a variety of non-standard HTML which needs to be retained in the output, then perhaps htmLawed should not be used.

Please also refer to the htmLawed documentation (e.g., regarding the attributes/elements it permits in the default mode).