Issue top border only in table VAT forfait

Hi,

I’m trying to built the calculation of VAT forfaits of the pharmacy forfaits for the marketplace of Silverfin, and they have a specific lay-out to say the least :slightly_smiling_face:

Not that I’m a big fan of the lay-out, but I’m trying to get to this (see first table):

This is the code, where the second table will not work:

{% comment %}this way works{% endcomment %}
{% stripnewlines %}
|----05%----
|:---90%----:
|----05%----+
{% newline %}
|_     _
|    
|_     _
{% newline %}
|]     
| {% t "BTW forfait apothekers" %}
|      [|
{% endstripnewlines %}

<br>


{% comment %}this does not work{% endcomment %}
{% stripnewlines %}
|----05%----
|:---90%----:
|----05%----+
{% newline %}
|]^  &nbsp;  
| {% t "BTW forfait apothekers" %}
|   &nbsp;  ^[|
{% endstripnewlines %}

Now, the second table won’t work if I combine one row with both the vertical and top border lining (as seen here)

Found a workaround though, or am I doing something wrong here?

{% comment %}this way works{% endcomment %}
{% stripnewlines %}
|----05%----
|:---90%----:
|----05%----+
{% newline %}
|_  &nbsp;  _
|   &nbsp;
|_  &nbsp;  _
{% newline %}
|]  &nbsp;  
| {% t "BTW forfait apothekers" %}
|   &nbsp;  [|
{% endstripnewlines %} 

Okay for now with the workaround, but a bit silly of creating an additional row (although I must confess I’m not sure if that specific table is whatI’m going for, thought you should know)

Hi @FINIFY,

The carrot ^ needs to be present on both sides of a cell:

{% stripnewlines %}
|----05%----
|:---90%----:
|----05%----+
{% newline %}
|]^  &nbsp;  ^
| {% t "BTW forfait apothekers" %}
|^   &nbsp;  ^[|
{% endstripnewlines %} 

That’s what the issue was.

Of course :man_facepalming:

Thanks for the help!