=================================================================== RCS file: /cvs/mandoc/html.c,v retrieving revision 1.271 retrieving revision 1.273 diff -u -p -r1.271 -r1.273 --- mandoc/html.c 2020/10/16 17:22:43 1.271 +++ mandoc/html.c 2021/06/02 17:51:38 1.273 @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.271 2020/10/16 17:22:43 schwarze Exp $ */ +/* $Id: html.c,v 1.273 2021/06/02 17:51:38 schwarze Exp $ */ /* * Copyright (c) 2011-2015, 2017-2020 Ingo Schwarze * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons @@ -140,6 +140,7 @@ html_alloc(const struct manoutput *outopts) h = mandoc_calloc(1, sizeof(struct html)); h->tag = NULL; + h->metac = h->metal = ESCAPE_FONTROMAN; h->style = outopts->style; if ((h->base_man1 = outopts->man) == NULL) h->base_man2 = NULL; @@ -195,6 +196,8 @@ print_gen_head(struct html *h) struct tag *t; print_otag(h, TAG_META, "?", "charset", "utf-8"); + print_otag(h, TAG_META, "??", "name", "viewport", + "content", "width=device-width, initial-scale=1.0"); if (h->style != NULL) { print_otag(h, TAG_LINK, "?h??", "rel", "stylesheet", h->style, "type", "text/css", "media", "all");