[DOC-WEB] [web-doc] master: Fix generic font-family name

1 view
Skip to first unread message

Nilgün Belma Bugüner

unread,
Dec 30, 2021, 8:28:46 PM12/30/21
to doc...@lists.php.net
Author: Nilgün Belma Bugüner (nilgun)
Date: 2021-12-31T04:28:36+03:00

Commit: https://github.com/php/web-doc/commit/1cea7213bec138b559b3950450d52c79557fe0e0
Raw diff: https://github.com/php/web-doc/commit/1cea7213bec138b559b3950450d52c79557fe0e0.diff

Fix generic font-family name
Closes #28

Changed paths:
M include/lib_revcheck.inc.php


Diff:

diff --git a/include/lib_revcheck.inc.php b/include/lib_revcheck.inc.php
index 1e74a6f..bd8f36c 100644
--- a/include/lib_revcheck.inc.php
+++ b/include/lib_revcheck.inc.php
@@ -255,7 +255,7 @@ function showdiff ()
$raw = htmlspecialchars( $file, ENT_XML1, 'UTF-8' );
$trans = [ " " => " " ];
$lines = explode ( "\n" , $raw );
- echo "<div style='font:87% mono;overflow-wrap:break-word;'>";
+ echo "<div style='font:87% monospace;overflow-wrap:break-word;'>";
foreach ( $lines as $line ) {
$inline = strtr( $line , $trans );
$fc = substr( $inline , 0 , 1 );

--
Documentation Website Mailing List (http://doc.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply all
Reply to author
Forward
0 new messages