Wednesday, July 28, 2010

Re: Should 2html generate valid CSS by default?

On Wed, Jul 28, 2010 at 3:39 PM, Bram Moolenaar <Bram@moolenaar.net> wrote:
>
> The documentation clearly says:
>
> By default, HTML optimized for old browsers is generated.  If you prefer using
> cascading style sheets (CSS1) for the attributes (resulting in considerably
> shorter and valid HTML 4 file), use: >
>   :let g:html_use_css = 1
>
> We can change that to default to using CSS when the variable isn't set
> and tell users to use this to disable that:
>
>   :let g:html_use_css = 0
>
> Any problems with that?
>

Well...it would be inconsistent with the other options, which will
remain enabled even if you :let them to zero. If I change this one, I
will want to change all options to work the same way. Each would do as
one might expect when :let to either zero or 1, with a default
behavior noted in the :help when they are not defined at all.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments:

Post a Comment