-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
58 lines (46 loc) · 2.04 KB
/
index.html
File metadata and controls
58 lines (46 loc) · 2.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
<!DOCTYPE html>
<!-- Copyright (c) 2025 Bisma Rohpanca Joyosumarto - BismaBRJ (https://www.github.com/BismaBRJ/) -->
<head>
<title>Tidy <p> tags</title>
</head>
<body>
<h1>Tidy <p> tags</h1>
<p>Copyright (c) 2025 Bisma Rohpanca Joyosumarto - BismaBRJ (<a href="https://www.github.com/BismaBRJ/<">https://www.github.com/BismaBRJ/</a>)</p>
<p>GitHub repository: <a href="https://github.com/BismaBRJ/tidyptags">https://github.com/BismaBRJ/tidyptags</a></p>
<p>December 2025</p>
<input type="checkbox" id="chk_debug">
<label for="chk_debug">Debug mode</label>
<br>
<input type="checkbox" id="chk_del_nbsp">
<label for="chk_del_nbsp">Delete all occurrences of &nbsp;</label>
<br>
<input type="checkbox" id="chk_dedup_br">
<label for="chk_dedup_br">Deduplicate <br> tags</label>
<br>
<input type="checkbox" id="chk_del_br_near_p">
<label for="chk_del_br_near_p">Delete <br> tags near the beginning/end of <p> tags</label>
<br>
<input type="checkbox" id="chk_simplify_p">
<label for="chk_simplify_p">Delete <p> tag attributes, thus simplifying them</label>
<br>
<input type="checkbox" id="chk_br_to_close_p">
<label for="chk_br_to_close_p">Turn remaining <br> tags into </p>\n<p></label>
<br>
<input type="checkbox" id="chk_del_spaces_before_p">
<label for="chk_del_spaces_before_p">Delete spaces before <p> or </p> tags to dedent them</label>
<br>
<p>Input source here:</p>
<textarea id="box_input" rows="4" cols="80"></textarea>
<br>
<button id="btn_cleanup">Clean up</button>
<br>
<p>Result:</p>
<textarea id="box_result" rows="4" cols="80"></textarea>
<br>
<button id="btn_clear_result">Clear result</button>
<button id="btn_clear_all">Clear all</button>
<br>
<script src="settings.js"></script>
<script src="tidy_funcs.js"></script>
<script src="main_script.js"></script>
</body>