Thread overview | ||||||
---|---|---|---|---|---|---|
|
September 17, 2016 Omitting optional tags | ||||
---|---|---|---|---|
| ||||
Cool! We should do this for our own docs: https://google.github.io/styleguide/htmlcssguide.xml?showone=Optional_Tags#Optional_Tags Andrei |
September 17, 2016 Re: Omitting optional tags | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Saturday, 17 September 2016 at 18:17:56 UTC, Andrei Alexandrescu wrote:
> Cool! We should do this for our own docs: https://google.github.io/styleguide/htmlcssguide.xml?showone=Optional_Tags#Optional_Tags
>
> Andrei
I wouldn't recommend it. We have no idea how many screen readers and HTML parsers will be broken by doing this.
|
September 17, 2016 Re: Omitting optional tags | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 09/17/2016 08:17 PM, Andrei Alexandrescu wrote:
> Cool! We should do this for our own docs:
> https://google.github.io/styleguide/htmlcssguide.xml?showone=Optional_Tags#Optional_Tags
I'd rather go full XML. Post-processing is easier with XML, especially with dogfooding in mind. We're soon going to have a more capable std.xml2, but a std.html is not being pursued, as far as I know.
|
September 19, 2016 Re: Omitting optional tags | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | Well, a lot can be done to optimize generated html, e.g. it has a lot of spaces and questionable markup like <a href='object.html'><span><em class="tt">object</em></span></a> |
Copyright © 1999-2021 by the D Language Foundation