From: Muhammad Rizki <[email protected]>
To: Ammar Faizi <[email protected]>
Cc: GNU/Weeb Mailing List <[email protected]>,
Alviro Iskandar Setiawan <[email protected]>
Subject: Re: [PATCH v1 2/2] Use html.escape() for fix_utf8_chars()
Date: Wed, 3 Aug 2022 20:01:47 +0700 [thread overview]
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
On 03/08/2022 19.49, Ammar Faizi wrote:
> On 8/3/22 5:27 PM, Muhammad Rizki wrote:
>> return html.escape(html.escape(text))
>
> I doubt about this double escape. Just to clear my doubt. Did you test
> this?
Tested and work as my expected.
>
> I didn't, but you said previously that "<" is shown as ">" which is
> totally garbage if that's the actual output. Rizki?
>
Yes, with double html.escape() it can replace the previous code (with
replace())
next prev parent reply other threads:[~2022-08-03 13:01 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-03 10:27 [PATCH v1 0/2] Improve some utility codes Muhammad Rizki
2022-08-03 10:27 ` [PATCH v1 1/2] Improve code for bottom border Muhammad Rizki
2022-08-03 10:27 ` [PATCH v1 2/2] Use html.escape() for fix_utf8_chars() Muhammad Rizki
2022-08-03 12:49 ` Ammar Faizi
2022-08-03 12:53 ` Ammar Faizi
2022-08-03 13:01 ` Muhammad Rizki [this message]
2022-08-03 12:51 ` (subset) [PATCH v1 0/2] Improve some utility codes Ammar Faizi
2022-08-03 13:07 ` Ammar Faizi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
[email protected] \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox