Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3504

html macro refuses double quotes inside javascript in an input field

    XMLWordPrintable

Details

    • Unit

    Description

      The following html does not go through the HTML macro (it is html generated by DBListClass but I would say most suggests will have this issue)

      {{html wiki=false}}
      <pre><input onfocus='new ajaxSuggest(this, { script: "" })' autocomplete='off' id='xx' name='xxx' value='' size='30' type='text'/></pre>
      {{/html}}
      
      
      {{html wiki=false}}
      <pre><input onfocus='new ajaxSuggest(this, {script:"/xwiki/bin/view/Main/?xpage=suggest&amp;classname=xxxx&amp;fieldname=related&amp;firCol=-&amp;secCol=-&amp;", varname:"input", seps:"|,"})' autocomplete='off' id='xx' name='xxx' value='' size='30' type='text'/></pre>
      {{/html}}
      

      Attachments

        Activity

          People

            vmassol Vincent Massol
            ludovic Ludovic Dubost
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: