Remove the whitespace that is after {{/html}} on the same line. This
is what makes the HTML macro inline (i.e. it is followed by inline
content). Then you can remove the need for empty lines before and
after the HTML macro by:
* either moving the 2 $xwiki.*.use lines inside the HTML macro, at the
beginning (because they generate white space and whitespace doesn't
matter in HTML)
* or by writting:

#set ($discard = $xwiki.jsfx.use('uicomponents/widgets/upload.js', true))

In any case, be more careful with the whitespace you leave at the end
of the lines. Whitespace is preserved and has meaning in wiki syntax,
unlike in HTML.

Hope this helps,
Marius

On Mon, Feb 25, 2013 at 8:22 AM, dmnrmr <[email protected]> wrote:
> here you go: http://pastebin.com/YrJYesiL
>
>
>
> --
> View this message in context: 
> http://xwiki.475771.n2.nabble.com/HTML5-File-Upload-tp7583955p7583982.html
> Sent from the XWiki- Users mailing list archive at Nabble.com.
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to