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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. Register Now

Reply
ImkeF
Super User
Super User

(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
Employee
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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

Check out the February 2024 Power BI update to learn about new features.

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.

Top Kudoed Authors