From e3adf85e44705a61d9f6cd4c7e7996642957cc9f Mon Sep 17 00:00:00 2001 From: edward1224 Date: Tue, 31 Jul 2018 13:11:41 +0800 Subject: [PATCH] Fixed typo and grammer! --- COPYING | 10 +++++----- README.md | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/COPYING b/COPYING index b7f86df2..0e52aeb1 100644 --- a/COPYING +++ b/COPYING @@ -14,7 +14,7 @@ the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common + other entities that control, are controlled by or are under common control with that entity. For the purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or @@ -85,7 +85,7 @@ or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate - as of the date such litigation is filed. + as of the date, such litigation is filed. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without @@ -125,7 +125,7 @@ may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with + reproduction and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, @@ -156,8 +156,8 @@ unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the + incidental, or consequential damages of any character arising as + the result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor diff --git a/README.md b/README.md index 774adaab..f5114cd1 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,9 @@ An embeddable script that makes source-code snippets in HTML prettier. * Works on HTML pages. -* Works even if code contains embedded links, line numbers, etc. +* Works even if the code contains embedded links, line numbers, etc. * Simple API: include some JS & CSS and add an onload handler. -* Lightweights: small download and does not block page from loading while +* Lightweights: small download and does not block the page from loading while running. * Customizable styles via CSS. See the [themes gallery][1]. * Supports all C-like, Bash-like, and XML-like languages. No need to specify @@ -132,8 +132,8 @@ See the [changelog](CHANGES.md). ### Why doesn't Prettyprinting of strings work on WordPress? -Apparently wordpress does "smart quoting" which changes close quotes. This -causes end quotes to not match up with open quotes. +Apparently, WordPress does "smart quoting" which changes close quotes. This +causes end quotes do not match up with open quotes. This breaks prettifying as well as copying and pasting of code samples. See [WordPress's help center][5] for info on how to stop smart quoting of code @@ -157,7 +157,7 @@ faz(); ``` -### How do I prevent a portion of markup from being marked as code? +### How do I prevent a portion of the markup from being marked as code? You can use the `nocode` class to identify a span of markup that is not code: