[Sugar-devel] sugar-web: css lint
Andrew McMillan
andrew at morphoss.com
Wed Sep 4 16:31:00 EDT 2013
On Wed, 2013-09-04 at 11:18 -0300, Manuel Quiñones wrote:
> No luck in html lint.
>
> There is the main validator: http://validator.nu/ . It helped me to
> find a bug in the index.html of sugar-web-template. I have sent a PR
> with the fix.
>
> And there is html5-lint, a Mozilla instance of the main validator:
>
> https://github.com/mozilla/html5-lint
>
> But unfortunately those don't work with a fragment of HTML, so we can't
> use them for templates.
>
> Then there is the W3C online validator, which has an option for HTML
> fragments, but not for doctype html5, and throws errors in Mustache
> templates:
>
> http://validator.w3.org/#validate_by_input+with_options
Hi Manuel,
Would it be possible to simply present a small service somewhere which
wrapped a fragment with the right HTML5 pieces and submitted it to one
of the full-document validators?
Cheers,
Andrew.
--
------------------------------------------------------------------------
andrew (AT) morphoss (DOT) com +64 (2) 7233 2426
May I ask a question?
------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130905/da364451/attachment.pgp>
More information about the Sugar-devel
mailing list