-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
navbar.css: cpprefjpアイコンをdataスキームで埋め込む
できるだけ多くのブラウザで見られるように以下の記事 [1] を参考にした。 - [1] https://yukiyuriweb.com/2016/10/08/using-data-uri-scheme-for-svg-in-background-image-compatible-with-ie/ URL エンコードに関連する変換は以下を行う。 # 行頭・行末の空白を削除 /^$/d s/^[[:space:]]*// s/[[:space:]]*$/ / s/> $/>/ # 文字の置換 s/"/'/g s/</%3C/g s/>/%3E/g s/#/%23/g その後に tr -d '\n' で改行を削除した。
- Loading branch information
1 parent
f2a4162
commit 93678a3
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters