html_escape.awk

HTML の特殊文字を変換する関数を定義する。

Usage
awk -f 'html_escape.awk'
@include "html_escape.awk"
Metadata
id

5a18e1a6-f2c9-4239-b2ef-41cb8f647bfb

author

qq542vev

version

1.0.0

date

2022-09-02

since

2022-07-26

copyright

Copyright (C) 2022-2022 qq542vev. Some rights reserved.

license

CC-BY

package

w3mplus

See Also
Functions
html_escape
function html_escape(
string
)

文字列内の HTML 特殊文字を実態参照に変換する。

Parameters
string

実態参照に変換する文字列。

Returns

変換された文字列。