Skip to content

Commit f6bd872

Browse files
committed
another typo
1 parent 39017e8 commit f6bd872

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Sorry, no capturing groups (e.g. `\1` or `$1`) support. If you really need rege
5959

6060
Maybe it's old static content, who knows how it got that way -- I'm not judging -- but the data, for whatever reason, is now in your database and it's making you crazy. When you send it straight to a web page, sure, it's fine, but when you put it in a report or something -- yuck. You can clean these up, either on demand or en masse, with `decode_entities(longtext)`.
6161

62-
`LONGTEXT` in, `LONGTEXT` out, if there are any HTML entities -- either named or numeric, in decimal or hex -- they will be converted to their utf-8 equivalents in the output. As many matching entitie as we can find in the input will be replaced in the output; things that look like they might have been entities, but we didn't recognize them (let's say, `&foo100;`) are passed through unaltered. Strings with no matching entities are returned unchanged as soon as we realize there's nothing to do.
62+
`LONGTEXT` in, `LONGTEXT` out, if there are any HTML entities -- either named or numeric, in decimal or hex -- they will be converted to their utf-8 equivalents in the output. As many matching entities as we can find in the input will be replaced in the output; things that look like they might have been entities, but we didn't recognize them (let's say, `&foo100;`) are passed through unaltered. Strings with no matching entities are returned unchanged as soon as we realize there's nothing to do.
6363

6464
mysql> SELECT dtsl.decode_entities('I ♥ HTML™ Éñtìties ✔ & ✔');
6565
+------------------------------------------------------------------------------------------------------+

0 commit comments

Comments
 (0)