浏览代码

formatted code

Former-commit-id: 6ffe5ddc8021163745b28d0bae2391a59be27851
Gildas 6 年之前
父节点
当前提交
2c757cc316
共有 1 个文件被更改,包括 24 次插入24 次删除
  1. 24 24
      extension/ui/pages/help.html

+ 24 - 24
extension/ui/pages/help.html

@@ -20,7 +20,7 @@
 		</span>
 		<hr>
 		<ol>
-			<li> <a id="getting-started">Getting started</a>
+			<li><a id="getting-started">Getting started</a>
 				<ul>
 					<li>Wait until the page is fully loaded, you may need to scroll down the entire page to be sure all
 						elements are loaded.</li>
@@ -28,11 +28,11 @@
 						extension toolbar to save the page.</li>
 				</ul>
 			</li>
-			<li> <a id="general-notes">Additional notes</a>
+			<li><a id="general-notes">Additional notes</a>
 				<ul>
 					<li>To save multiple tabs, select them first and click on the SingleFile button <img
 							src="../resources/icon_16.png" class="icon">.</li>
-					<li> Open the context menu by right-clicking the SingleFile button <img
+					<li>Open the context menu by right-clicking the SingleFile button <img
 							src="../resources/icon_16.png" class="icon"> in the extension toolbar or on the webpage. It
 						allows you to save: <ul>
 							<li>the current tab,</li>
@@ -40,13 +40,13 @@
 							<li>or the selected frame.</li>
 						</ul>
 					</li>
-					<li> You can also process multiple tabs in one click and save: <ul>
+					<li>You can also process multiple tabs in one click and save: <ul>
 							<li>the selected tabs,</li>
 							<li>or the unpinned tabs,</li>
 							<li>or all the tabs.</li>
 						</ul>
 					</li>
-					<li> The context menu also allows you to activate the auto-save of: <ul>
+					<li>The context menu also allows you to activate the auto-save of: <ul>
 							<li>the current tab,</li>
 							<li>or the unpinned tabs,</li>
 							<li>or all the tabs.</li>
@@ -57,14 +57,14 @@
 					<li>With auto-save active, pages are automatically saved every time after being loaded (or before
 						being unloaded if not). </li>
 					<li>Right-click on the SingleFile button and select "Options" to open the options page.</li>
-					<li> The default save folder is the download folder configured in your browser, cf.
+					<li>The default save folder is the download folder configured in your browser, cf.
 						about:preferences in Firefox and chrome://settings in Chrome. </li>
 					<li>You can use the shortcut Ctrl+Shift+Y to save the current tab or the selected tabs. Go to <a
 							href="chrome://extensions/shortcuts">chrome://extensions/shortcuts</a> to change it in
 						Chrome.</li>
 				</ul>
 			</li>
-			<li> <a id="options">Options description</a>
+			<li><a id="options">Options description</a>
 				<p>You can customize SingleFile through the options page. Right-click on SingleFile button <img
 						src="../resources/icon_16.png" class="icon"> in the browser toolbar and select "Options"/"Manage
 					extension" in the context menu to open the options page.</p>
@@ -72,16 +72,16 @@
 				<ul>
 					<li>
 						<p>A profile is a set of user-defined options associated to a unique name.</p>
-						<p> The drop-down list in the upper right of the options page allows you to select a profile and
+						<p>The drop-down list in the upper right of the options page allows you to select a profile and
 							modify the associated options. The buttons next to the drop-down list allows you
 							respectively to create, delete and rename a profile. </p>
 					</li>
 					<li>
-						<p> You can select the default profile through the context menu of SingleFile. The selection is
+						<p>You can select the default profile through the context menu of SingleFile. The selection is
 							persistent and applied to all tabs. </p>
 					</li>
 					<li>
-						<p> You can also override the default profile by associating a profile to a complete or partial
+						<p>You can also override the default profile by associating a profile to a complete or partial
 							URL. See the description of the <a href="#auto-settings-rules">Auto-settings rules</a>
 							feature for more info. </p>
 					</li>
@@ -365,24 +365,24 @@
 				</ul>
 				<p id="auto-settings-rules">Auto-settings rules</p>
 				<ul>
-					<li> The auto-settings rules let you associate a complete or partial URL with a profile. It also
+					<li>The auto-settings rules let you associate a complete or partial URL with a profile. It also
 						allows to associate a specific profile for the auto-save, or to disable it (check "display
 						'Auto-save profile' column"). When two or more rules match a URL of a page to save, the rule
 						with the longest URL will be chosen. The special profile "-" means the current profile. </li>
-					<li> You can use the special value "*" as URL to create a rule that applies to all URLs</li>
-					<li> You can use regular expressions by prefixing the URL with "regexp:" (e.g. "regexp:.*\.com" to
+					<li>You can use the special value "*" as URL to create a rule that applies to all URLs</li>
+					<li>You can use regular expressions by prefixing the URL with "regexp:" (e.g. "regexp:.*\.com" to
 						match all URLs containing ".com"). When zero or more rules based on URLs and one or more rules
 						based on regular expressions match a URL, the longest rule based on regular expression will be
 						chosen. </li>
 				</ul>
 				<p>Form buttons</p>
 				<ul>
-					<li> <span class="option">Reset</span>
+					<li><span class="option">Reset</span>
 						<p>Reset all options to their default values.</p>
 					</li>
 				</ul>
 			</li>
-			<li> <a id="template-variables">Template variables</a>
+			<li><a id="template-variables">Template variables</a>
 				<p>The template variables are used to customize the infobar content or the file name of a saved page.
 					They help to insert dynamic values like the save date or the page title.</p>
 				<ul>
@@ -438,7 +438,7 @@
 					<li><code>{digest-sha-512}</code>: the SHA-512 hash value of the entire page content</li>
 				</ul>
 			</li>
-			<li> <a id="notes">Technical notes</a>
+			<li><a id="notes">Technical notes</a>
 				<ul>
 					<li>All images are converted into <a href="http://en.wikipedia.org/wiki/Base64">base64</a>. </li>
 					<li>All resources except frame contents are injected in the document using <a
@@ -446,9 +446,9 @@
 					<li>Frame contents are injected as text in the document by using the srcdoc attribute. </li>
 				</ul>
 			</li>
-			<li> <a id="known-issues">Known issues</a>
+			<li><a id="known-issues">Known issues</a>
 				<ul>
-					<li> All browsers <ul>
+					<li>All browsers <ul>
 							<li>For security reasons, you cannot save pages hosted on https://chrome.google.com,
 								https://addons.mozilla.org and some other Mozilla domains. When this happens, 🚫 is
 								displayed on top of the SingleFile icon.</li>
@@ -461,7 +461,7 @@
 								&gt;</li>
 						</ul>
 					</li>
-					<li> Chrome/Opera <ul>
+					<li>Chrome/Opera <ul>
 							<li>You must enable the option "Allow access to file URLs" in the extension page to display
 								the infobar when viewing a saved page, or to save a page stored on the filesystem.</li>
 							<li>If the filename of a saved page looks like "56833935-156b-4d8c-a00f-19599c6513d3",
@@ -472,14 +472,14 @@
 								chrome://settings/downloads</li>
 						</ul>
 					</li>
-					<li> Firefox <ul>
+					<li>Firefox <ul>
 							<li>The "file name conflict resolution" option does not work if set to "prompt for a name".
 							</li>
 						</ul>
 					</li>
 				</ul>
 			</li>
-			<li> <a id="unknown-issues">Troubleshooting unknown issues</a>
+			<li><a id="unknown-issues">Troubleshooting unknown issues</a>
 				<p>Please follow these steps if you find an unknown issue:</p>
 				<ul>
 					<li>Save the page in incognito.</li>
@@ -493,7 +493,7 @@
 				</ul>
 				<p>Suggestions are welcome :)</p>
 			</li>
-			<li> <a id="contributors">Contributors</a>
+			<li><a id="contributors">Contributors</a>
 				<ul>
 					<li>Chinese translation done by yfdyh000 (<a href="https://github.com/yfdyh000">GitHub profile</a>),
 						KrasnayaPloshchad (<a href="https://github.com/KrasnayaPloshchad">GitHub profile</a>),
@@ -514,9 +514,9 @@
 					<li>Spanish translation done by strel (<a href="https://github.com/strel">GitHub profile</a>)</li>
 				</ul>
 			</li>
-			<li> <a id="icons">Icons</a>
+			<li><a id="icons">Icons</a>
 				<ul>
-					<li> Icon made by <a href="https://www.flaticon.com/authors/kiranshastry"
+					<li>Icon made by <a href="https://www.flaticon.com/authors/kiranshastry"
 							title="Kiranshastry">Kiranshastry</a> from <a href="https://www.flaticon.com/"
 							title="Flaticon">www.flaticon.com</a> is licensed by <a
 							href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0"