I want to add a label last updated in front of the date.
My website structure is as follows:
<div class="meta">
"2022/3/24 /" <- this is (#text)
<span class="category-link">
<a href="example.com">category</a>
</span>
</div>
However, the class cannot be selected with #text for the date, so i used following method.
meta::before{
content: "최종업데이트:"; <- this is Last updated as Korean
}
The language of my homepage is Korean, and this method works fine.
But there is a problem that Koreans put in this way are often displayed as unknown characters like below.
"최종 ì—…ë °ì ´íŠ¸ :"
But when I refresh the browser, it is displayed normally.
If anyone knows how to solve this problem or put label in other way than please let me know
Thank you.