Skip to content

Commit

Permalink
Merge pull request #33 from cu-mkp/dev
Browse files Browse the repository at this point in the history
Fixing bug in BuildPolygonSvg function
  • Loading branch information
ajolipa authored May 2, 2024
2 parents e5be054 + b2d45d1 commit c9f9600
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cu-mkp/editioncrafter-cli",
"version": "1.0.0",
"version": "1.0.1",
"description": "This is the command line tool to take a TEI XML file and turn it into a IIIF Manifest and the necessary Web Annotations to display the text in EditionCrafter.",
"homepage": "https://cu-mkp.github.io/editioncrafter/",
"main": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/svg.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const buildSquareFragment = (ulx, uly, lrx, lry) => `xywh=pixel:${ulx},${uly},${

const buildPolygonSvg = (points) => `
<svg>
<polygon points='${points.join(' ')}' style=${style}>
<polygon points='${points}' style=${style}>
</polygon>
</svg>`.replaceAll('\n', '');

Expand Down
2 changes: 1 addition & 1 deletion version.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c9f9600

Please sign in to comment.