etenlab / docs

Documentation over all projects in the ETEN Innovation Lab repos
MIT License
1 stars 0 forks source link

Update map string parser #307

Open michaelmarshall opened 1 year ago

michaelmarshall commented 1 year ago

I have an .svg file that has the following markup:

 <text class="cls-34" transform="translate(280.75 220.48)"><tspan class="cls-25" x="0" y="0">R</tspan><tspan x="3.25" y="0">ome</tspan></text>

As you can see, the string that we need to pull out is broken up into two tspan elements. So we need to pull all the text within a single text tag. I will upload the .svg file I used for this ticket.

I think we should be able to use this function to parse all files, but please check that this doesn't break the parser for other maps.

michaelmarshall commented 1 year ago

COLOR 1_Roman Empire