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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Kudoed Authors