Issue:Table Error while using include and first letter is an "-"
From FollowTheScore
Description: | There are new lines |
Extension / Version: | DPL / 1.6.4 |
Type / Status: | Bug / resolved |
Problem
I'm using the following code to get a table with some information stored in pages with an template:
<DPL> category=Clan notnamespace=Kategorie notnamespace=MOHAA_Wiki includepage={Clan}:Clantag:Mitgliederzahl:Suchen_Member:Gründung:Homepage addpagecounter=true format=¶{|{{prettytable}} class=sortable width=100% ¶!Clan¶!Clantag ¶!Mitglieder ¶!Suchen Member ¶!Gründung ¶!Homepage ,¶|-¶|[[%PAGE%]] (%COUNT%),,¶|} secseparators=¶| </DPL>
In many cases, the field Clantag (in my template) begins with an "-". In this case, the rendered table will begin a new row instead of showing the correct Clantag beginning with an "-".
Reply
You could use the tablerow command and put a nonbreaking space before the %% at the critical field.