How to preserve html tags
Opened this issue · 4 comments
Hello
Its there a way to preserve HTML tags within the language strings?
<!-- Translated -->
<label class="custom-control-label" style="" for="123">Some text <span style="text-decoration: underline;">more</span>*</label>
<!-- Original -->
<label class="custom-control-label" style="" for="123">Some text <span style="text-decoration: underline;">more</span>*</label>
Thanks
Manuel
Hello
Its there a way to preserve HTML tags within the language strings?
<!-- Translated --> <label class="custom-control-label" style="" for="123">Some text <span style="text-decoration: underline;">more</span>*</label> <!-- Original --> <label class="custom-control-label" style="" for="123">Some text <span style="text-decoration: underline;">more</span>*</label>
Thanks
Manuel
Hello dear
Unfourtuentley this is not supported now! but it looks a great Idea I will move forward starting from this weekend.
I will make sure to make it available within a week at most
Thanks for that nice suggestion
Hello Maybe a little late but I didi it like this the html tag is from mudblazor but another will also work :@((MarkupString)languageContainer.Keys["House"]) and in the yaml file : House: Our vacation home</style> with all modern comfort</style> is a great place to relax and unwind. hope this is what you asked for...
Sorry copy and paste did not come out good : another try @((MarkupString)languageContainer.Keys["Welcome"]) and the yaml : House: Our vacation home</style> with all modern comfort</style> is a great place to relax and unwind.
I hope it comes out good at your end it was ok until I clicked comment and then parts of the sentence was messed up