BSData / wh40k-epic-armageddon

Warhammer 40,000 Epic Armageddon
http://battlescribedata.appspot.com/#/repo/wh40k-epic-armageddon
3 stars 8 forks source link

False <BR> in HTML-exports #26

Open FabianWehning opened 2 years ago

FabianWehning commented 2 years ago

If the rosters are exported via HTML then there are false
tags (in the code written as <BR> ) in the document which destroy the layout.

To Reproduce Steps to reproduce the behavior:

  1. Export any roster as HTML

Expected behavior HTML-exports contain
instead of <BR>

Screenshots grafik

grafik

Device and data (please complete the following information):

afraeve commented 2 years ago

The <BR> tag used to make a line break, so the example you're looking would appear neatly. It was really useful for the more complicated profiles. Sadly, the BattleScribe developer removed that functionality when 40k 8th ed was released, probably because of the new "keywords" in that game that use the <> symbols. He's stated that he might include some other markup text in future that I can replace them with, but until then, I don't know what else to do.

I've tried manually changing the files in an xml editor, putting in whatever code I can think of to force a line break, but it just corrupts the file & then BattleScribe deletes the cat. Obviously I could replace them all with an asterisk or something to make them look a bit better, but once I do that, there's no going back. Any suggestions are welcome.

20, #24

phodgkiss commented 1 year ago

Hi this seems easy enough to fix within the battlescribe editor just import the cat files and delete the BR entries and replace with an enter image

change to

image

after doing that you get the following

image

much nicer to read than what you get with the BR entries like below

image

Or install notepad++ and just do a search, find in files and point it at the folder with all the cat files in it

image