jackwasey / PRISMAstatement

Plot Flow Charts According to the PRISMA Statement
GNU General Public License v3.0
19 stars 2 forks source link

Apostrophe fix #3

Open ek-g opened 4 years ago

ek-g commented 4 years ago

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 ’.

codecov[bot] commented 4 years ago

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%) :arrow_up:
R/flow-exclusions.r 73.68% <0.00%> (+0.95%) :arrow_up:

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.