Skip to content
This repository has been archived by the owner on Jul 4, 2024. It is now read-only.

Refactor: file name #10

Merged
merged 1 commit into from
Apr 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy dev
name: Deploy reearth help dev
on:
workflow_dispatch:
env:
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy prod
name: Deploy reearth help prod
on:
workflow_dispatch:
env:
Expand Down
4 changes: 2 additions & 2 deletions src/lib/htmlParser.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(/(<meta property="og:image" content=")([^"]*)("[^>]*>)/g, `$1${this.pageImageUrl}$3`);
Expand All @@ -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";
Expand Down