8000 Add escape double quotes for mermaid by kaitosawada · Pull Request #504 · k1LoW/tbls · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add escape double quotes for mermaid #504

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

kaitosawada
Copy link
Contributor

ISSUE: #503

@kaitosawada kaitosawada marked this pull request as ready for review July 26, 2023 08:02
Copy link
Owner
@k1LoW k1LoW left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@kaitosawada Thank you!!

@@ -42,6 +42,9 @@ func Funcs(d *dict.Dict) map[string]interface{} {
r := strings.NewReplacer("\r\n", "\\n", "\n", "\\n", "\r", "\\n")
return r.Replace(text)
},
"escape_double_quote": func(text string) string {
return strings.ReplaceAll(text, "\"", "#quot;")
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fmfm

erDiagram

"logs" }o--o| "comments" : "#quot;Hello#quot;"

"comments" {
  bigint id PK
  bigint post_id FK
  int user_id FK
  text comment
  bigint post_id_desc
  datetime created
  datetime updated
}
"logs" {
  bigint id PK
  int user_id
  bigint post_id
  bigint comment_id
  bigint comment_star_id
  text payload
  datetime created
}
Loading

@k1LoW k1LoW merged commit 7c4a0cd into k1LoW:main Jul 26, 2023
@github-actions github-actions bot mentioned this pull request Jul 26, 2023
@k1LoW k1LoW added the bug Something isn't working label Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0