[web-doc] master: add a space to the blank line to copy
| From: | Nilgün Belma Bugüner | Date: | Thu, 31 Mar 2022 11:58:11 +0000 |
| Subject: | [web-doc] master: add a space to the blank line to copy | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-2509@lists.php.net to get a copy of this message | ||
Author: Nilgün Belma Bugüner (nilgun)
Date: 2022-03-31T14:55:12+03:00
Commit: https://github.com/php/web-doc/commit/8811bd7f814d7a69faffd423c5b9d3f6802c6955
Raw diff: https://github.com/php/web-doc/commit/8811bd7f814d7a69faffd423c5b9d3f6802c6955.diff
add a space to the blank line to copy
Changed paths:
M include/lib_revcheck.inc.php
Diff:
diff --git a/include/lib_revcheck.inc.php b/include/lib_revcheck.inc.php
index 9a08fa9..6e8852c 100644
--- a/include/lib_revcheck.inc.php
+++ b/include/lib_revcheck.inc.php
@@ -294,6 +294,7 @@ function showdiff ()
echo "<div style='$lineNumberStyles
$addAccentBg'></div>";
echo "<div style='$lineNumberStyles
$addAccentBg'>$newLineNumber</div>";
echo "<div style='$addAccentBg flex: 0 0 20px; text-align: center;
user-select: none;'>$fc</div>";
+ if ($line == "+") $line .= " ";
echo "<div style='$codeStyles $addBg'>" . substr($line,
1) . "</div>\n";
$newLineNumber++;