From 6eabf3488adcf5033b01fa6cbcc05091845b3b1a Mon Sep 17 00:00:00 2001 From: tomoyane Date: Sun, 14 Apr 2024 23:38:12 +0900 Subject: [PATCH] refactor: file name --- .../workflows/{deploy_dev.yml => deploy_reearth_help_dev.yml} | 2 +- .../{deploy_prod.yml => deploy_reearth_help_prod.yml} | 2 +- src/lib/htmlParser.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) rename .github/workflows/{deploy_dev.yml => deploy_reearth_help_dev.yml} (97%) rename .github/workflows/{deploy_prod.yml => deploy_reearth_help_prod.yml} (98%) diff --git a/.github/workflows/deploy_dev.yml b/.github/workflows/deploy_reearth_help_dev.yml similarity index 97% rename from .github/workflows/deploy_dev.yml rename to .github/workflows/deploy_reearth_help_dev.yml index 51109c9..8879e56 100644 --- a/.github/workflows/deploy_dev.yml +++ b/.github/workflows/deploy_reearth_help_dev.yml @@ -1,4 +1,4 @@ -name: Deploy dev +name: Deploy reearth help dev on: workflow_dispatch: env: diff --git a/.github/workflows/deploy_prod.yml b/.github/workflows/deploy_reearth_help_prod.yml similarity index 98% rename from .github/workflows/deploy_prod.yml rename to .github/workflows/deploy_reearth_help_prod.yml index e7cfdc5..1d0bd98 100644 --- a/.github/workflows/deploy_prod.yml +++ b/.github/workflows/deploy_reearth_help_prod.yml @@ -1,4 +1,4 @@ -name: Deploy prod +name: Deploy reearth help prod on: workflow_dispatch: env: diff --git a/src/lib/htmlParser.js b/src/lib/htmlParser.js index 1be0986..350bf73 100644 --- a/src/lib/htmlParser.js +++ b/src/lib/htmlParser.js @@ -36,7 +36,7 @@ class HtmlParser { // Note // Replace og:image data without dom because set original image url. - // If you are using DOM, the url is escaped. + // If it uses DOM, the url is escaped. replaceMetaImageWithoutDom(htmlStr) { if (this.pageImageUrl !== '') { htmlStr = htmlStr.replace(/(]*>)/g, `$1${this.pageImageUrl}$3`); @@ -47,7 +47,7 @@ class HtmlParser { // Note // Replace icon data without dom because set original icon url. - // If you are using DOM, the url is escaped. + // If it uses DOM, the url is escaped. replaceLinkIconWithoutDom(htmlStr) { if (this.iconUrl !== '') { const notionDefaultType = "image/x-icon";