Skip to content

Commit 9707e19

Browse files
committed
Merge branch 'master' of https://github.com/hexydec/htmldoc
2 parents 51e2330 + 0a8e9e0 commit 9707e19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

index.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
if (!empty($_POST['url'])) {
3333

3434
// parse the URL
35-
if (($url = parse_url($_POST['url'])) === false) {
35+
if (($url = \parse_url($_POST['url'])) === false) {
3636
\trigger_error('Could not parse URL: The URL is not valid', E_USER_WARNING);
3737

3838
// check the host name
@@ -216,7 +216,7 @@
216216
<th>Input (bytes)</th>
217217
<th>Output (bytes)</th>
218218
<th>Diff (bytes)</th>
219-
<th>% of Original</th>
219+
<th>Compression</th>
220220
<th></th>
221221
<th>Load</th>
222222
<th>Parse</th>
@@ -273,7 +273,7 @@
273273
if (\is_bool($item) || \is_array($item)) { ?>
274274
<li>
275275
<label>
276-
<input type="checkbox" name="minify[]" value="<?= $key; ?>"<?= !isset($minify[$key]) || $minify[$key] === false ? '' : ' checked="checked"'; ?> /><?= \htmlspecialchars(ucfirst($key)); ?>
276+
<input type="checkbox" name="minify[]" value="<?= $key; ?>"<?= !isset($minify[$key]) || $minify[$key] === false ? '' : ' checked="checked"'; ?> /><?= \htmlspecialchars(\ucfirst($key)); ?>
277277
</label>
278278
<?php if (\is_array($item)) { ?>
279279
<ul class="minify__options-list">

0 commit comments

Comments
 (0)