tabi: [Bug Report] Arabic tags are stick together

Bug Report

When I wrote a tags in Arabic, the tags are stick together without any space between them.

Environment

Zola version: zola 0.18.0 tabi version or commit: 8b5a131001cbb29656ab2339cafa777938353ea3

Expected Behavior

image

Something like (I dont know HTML/CSS that match, so this is my fix but I don’t think is the good one) I adding space btw

<div class="bloglist-tags">
    <a class="tag" href="http://127.0.0.1:1111/tags/shrh/"> شرح</a>
    <a class="tag" href="http://127.0.0.1:1111/tags/shy/"> شي</a>
    <a class="tag" href="http://127.0.0.1:1111/tags/m/"> ما</a>
</div>

Current Behavior

image

<div class="bloglist-tags">
    <a class="tag" href="http://127.0.0.1:1111/tags/shrh/">شرح</a>
    <a class="tag" href="http://127.0.0.1:1111/tags/shy/">شي</a>
    <a class="tag" href="http://127.0.0.1:1111/tags/m/">ما</a>
</div>

Clearly Describe the Bug

The tags are stick together without any space between them and comes like this شرحشيما instead of شرح شي ما

Step to Reproduce

Write a tags in Arabic and see the result.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 16 (7 by maintainers)

Most upvoted comments

Does this solve the issue?

I’ll soon in the morning, now it’s 1:06 AM and I close the laptop 😃

Does this solve the issue?

Yes it’s, I’ll open a PR

Screenshot

Is this the problem? (Using your two images from the first post)

Yes, also the second and last tag.

Tag Become Reason (in Arabic)
شرح شرحـ Because it’s stick with the second tag
شي ـشيـ Because it’s stick with the first and last tag
ما ـما Because it’s stick with the second tag

Screenshot

Is this the problem? (Using your two images from the first post)