-------- Original-Nachricht -------- > Datum: Wed, 28 Jul 2010 00:36:10 -0500 > Von: Benjamin Fritz <[email protected]> > An: vim_use <[email protected]>, vim_dev <[email protected]> > Betreff: Should 2html generate valid CSS by default?
> I've taken over as maintainer of the TOhtml plugin during Vim 7.3 > development. > > Something that's bugged me a little for some time about 2html, is that > the current default is to NOT use CSS, but rather use old-style > <font>, <b>, <i>, and other tags for markup. > > The :help 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 > > At this point, I'd consider "old browsers" to be Internet Explorer 6 > and the like. I think the time has come to default g:html_use_css to > true, by including this line in the tohtml.vim plugin file. > > A user could still disable this option by unletting it manually, or in > an after/plugin file. Would t > I can personally think of no compelling reason not to do this. But, to > avoid offending a lot of people out of my own ignorance... > > Are there any good reasons to keep the default behavior of generating > markup that does not use basic CSS1? Please respond if you have > concerns. > [...] -- You received this message from the "vim_dev" 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
