Wrong formating for code blocks

Hello,

I think have some kind of ugly problem with hashtag function in Write.as and code blocks…

Code block source :

#blog-title a {
    background-image: url(https://snap.as/img/logo.png);
    background-position: center;
    background-repeat: no-repeat;
    color: rgba(0,0,0,0);
    display: inline-block;
    width: 100px;
    height: 100px;
    background-size: 100px;
    border-radius: 50%;
}
#post #blog-title a, #subpage #blog-title a {
    /* Change size of logo on post and tags pages */
    width: 50px;
    height: 50px;
    background-size: 50px;
}

Code block output :

<a href="/lab/tag:blog" class="hashtag"><span>#</span><span class="p-category">blog</span></a>-title a {
    background-image: url(https://snap.as/img/logo.png);
    background-position: center;
    background-repeat: no-repeat;
    color: rgba(0,0,0,0);
    display: inline-block;
    width: 100px;
    height: 100px;
    background-size: 100px;
    border-radius: 50%;
}
<a href="/lab/tag:post" class="hashtag"><span>#</span><span class="p-category">post</span></a> <a href="/lab/tag:blog" class="hashtag"><span>#</span><span class="p-category">blog</span></a>-title a, <a href="/lab/tag:subpage" class="hashtag"><span>#</span><span class="p-category">subpage</span></a> <a href="/lab/tag:blog" class="hashtag"><span>#</span><span class="p-category">blog</span></a>-title a {
    /* Change size of logo on post and tags pages */
    width: 50px;
    height: 50px;
    background-size: 50px;
}

Sorry to disturb you from Fosdem sweetness :blush: :wink:

1 Like

Discovered there is an issue on Github:

Yep, this is fixed and live on Write.as now!

Good News… I will try it tonight :star_struck:

Work nice on Write.as : https://lab.papatheodorou.net/write-freely-ajouter-un-logo-a-son-blog