**Update**. All working well when we remove <input> element from sanitizer 
blacklist. Is it okay to allow input element to be rendered ?

        ns_html = html5lib.constants.namespaces['html']
        _form_elements = {(ns_html, 'button'),
                          (ns_html, 'datalist'),
                          (ns_html, 'fieldset'),
                          (ns_html, 'form'),
                          #(ns_html, 'input'),
                          (ns_html, 'label'),
                          (ns_html, 'legend'),
                          (ns_html, 'meter'),
                          (ns_html, 'optgroup'),
                          (ns_html, 'option'),
                          (ns_html, 'output'),
                          (ns_html, 'progress'),
                          (ns_html, 'select'),
                          (ns_html, 'textarea'),
                          }
        self.allowed_elements = 
set(html5lib.filters.sanitizer.allowed_elements) - _form_elements


---

** [tickets:#8085] Add support for checkboxes to the markdown convertor**

**Status:** open
**Milestone:** unreleased
**Created:** Thu May 19, 2016 08:58 PM UTC by Rohan Verma
**Last Updated:** Sun Sep 02, 2018 05:49 AM UTC
**Owner:** Rohan Verma


Checkboxes can be rendered from [ ] and [x]

It is useful for maintaining lists and TODOs


---

Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed 
to https://forge-allura.apache.org/p/allura/tickets/

To unsubscribe from further messages, a project admin can change settings at 
https://forge-allura.apache.org/p/allura/admin/tickets/options.  Or, if this is 
a mailing list, you can unsubscribe from the mailing list.

Reply via email to