Skip to content
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

Apostrophe fix #3

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Apostrophe fix #3

wants to merge 3 commits into from

Conversation

ek-g
Copy link

@ek-g ek-g commented Jan 6, 2020

This fixes a bug which prevented using apostrophes in custom labels.

DiagrammeR::grViz does not accept ' in labels and escaping them won't work, because they get replaced with " in the process.

This fix replaces apostrophes (') in custom labels with HTML ’.

ek-g added 2 commits January 6, 2020 22:57
grViz needs apostrophes to be in HTML. Escaping them won't work either, as they are replaced with " as part of the function.
@codecov
Copy link

codecov bot commented Jan 6, 2020

Codecov Report

Merging #3 into master will increase coverage by 1.00%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master       #3      +/-   ##
==========================================
+ Coverage   82.18%   83.19%   +1.00%     
==========================================
  Files           2        2              
  Lines         247      238       -9     
==========================================
- Hits          203      198       -5     
+ Misses         44       40       -4     
Impacted Files Coverage Δ
R/prisma.r 89.51% <100.00%> (+0.99%) ⬆️
R/flow-exclusions.r 73.68% <0.00%> (+0.95%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ba3618e...fca59db. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant