Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
ImkeF
Community Champion
Community Champion

(HTML) Formatting not working correctly

In one of my answers, the bolded text won't show as such. Instead it shows as unformatted text:

 

image.png

 

trying to "re-edit" it, shows me it is bolded already:

 

image.png

 

some crazy HTML will be shown:

 

image.png

 

But when I copy the answer to edit it in wordpress instead (before pasting back into the forum), the html code looks nice and clean:

 

image.png

 

not surprisingly, the preview in wordpress looks as expected as well:

image.png

I suspect that this might be due to the fact that I have pasted some content into the editor before. In the following picture you see the content I have pasted from Power BI (red). It has a white background (unlike the ordinary text before). But all the text I've manually typed afterwards (and pasted) also has this white background (that has been a minor annoyance for quite some time, but I didn't really bother). But it might be causing the screwed up formatting:

 

image.png

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

4 REPLIES 4
JCM_iTalent
Microsoft Employee
Microsoft Employee

@ImkeF It can happen that text shows with white background or that additional HTML code is added when copying and pasting. What I have been doing is to use the Tx "Clear formatting" option from the toolbar before posting a message with copied and pasted content. This usually fixes any formatting issues.

Thanks @JCM_iTalent ,

that did the trick. But only if I delete the formatting from the whole post, so it would be nice if this could be chosen selectively.

 

BTW: It would be great if we could get back the functionality to do customized highlighting in the code blocks. The current formatting is a real step back.

 

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

@ImkeF I'll make sure to pass your feedback on.

Thank you!

Imke Feldmann (The BIccountant)

If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!

How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

JanFabricDE_carousel

Fabric Monthly Update - January 2025

Explore the power of Python Notebooks in Fabric!

JanFabricDW_carousel

Fabric Monthly Update - January 2025

Unlock the latest Fabric Data Warehouse upgrades!