digitalmars.D - Omitting optional tags
- Andrei Alexandrescu (3/3) Sep 17 2016 Cool! We should do this for our own docs:
- Jack Stouffer (4/7) Sep 17 2016 I wouldn't recommend it. We have no idea how many screen readers
- ag0aep6g (4/6) Sep 17 2016 I'd rather go full XML. Post-processing is easier with XML, especially
- Kagamin (3/3) Sep 19 2016 Well, a lot can be done to optimize generated html, e.g. it has a
Cool! We should do this for our own docs: https://google.github.io/styleguide/htmlcssguide.xml?showone=Optional_Tags#Optional_Tags Andrei
Sep 17 2016
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 AndreiI wouldn't recommend it. We have no idea how many screen readers and HTML parsers will be broken by doing this.
Sep 17 2016
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_TagsI'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.
Sep 17 2016
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>
Sep 19 2016