Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building Power Apps
Answered

HTML Text - SVG Suddenly Don't show in Canvas app

(4) ShareShare
ReportReport
Posted on by 16
Today suddenly all of my SVG's in canvas app don't show.
 I tried with different environment and different accounts in power apps and all of html text suddenly don't show the svg.

This html was previously working yesterday and suddenly when i open my app to work all of them don't show.
<div style=';position:absolute;height: 100%;width: 100%;top: 0; left: 0;display: flex; justify-content: center; align-items: center; font-weight: 1000; color: #f10f65;font-style:bold; '>
<svg width='60' height='50' viewBox='0 0 65 65' fill='none' xmlns='http://www.w3.org/2000/svg'>
<path d='M54.1666 8.125H13.5416C12.0458 8.125 10.8333 9.33756 10.8333 10.8333V54.1667C10.8333 55.6624 12.0458 56.875 13.5416 56.875H54.1666C55.6624 56.875 56.8749 55.6624 56.8749 54.1667V10.8333C56.8749 9.33756 55.6624 8.125 54.1666 8.125Z' stroke='#f10f65' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/>
<path d='M13.5417 21.6667H8.125H13.5417ZM13.5417 32.5H8.125H13.5417ZM13.5417 43.3333H8.125H13.5417ZM46.0417 18.9583H24.375V29.7917H46.0417V18.9583Z' stroke='#f10f65' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/>
</svg>
          Incident	
</div>

 
Categories:
Screenshot 2024-1...

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

  • CU24030631-0 Profile Picture
    2 on at
    HTML Text - SVG Suddenly Don't show in Canvas app
    Same errors
  • Verified answer
    Ondrix Profile Picture
    101 on at
    HTML Text - SVG Suddenly Don't show in Canvas app
    Here is solution. You are welcome. Just replace it with you svg.


     
    "<img src='data:image/svg+xml,"&EncodeUrl("<svg xmlns=""http://www.w3.org/2000/svg""
                  viewBox=""0 0 17 22"">
                <g transform=""rotate(360, 8.5, 13)"">
                    <path
                          d=""M5.30954 16.7783H11.7041C11.9366 16.7783 12.1315 16.698 12.2888 16.5375C12.4461 16.3769 12.5248 16.178 12.5248 15.9406C12.5248 15.7073 12.4461 15.5126 12.2888 15.3567C12.1315 15.2008 11.9366 15.1229 11.7041 15.1229H5.29541C5.06289 15.1229 4.86799 15.2018 4.71071 15.3597C4.55341 15.5176 4.47476 15.7132 4.47476 15.9467C4.47476 16.1801 4.55476 16.377 4.71476 16.5375C4.87476 16.698 5.07302 16.7783 5.30954 16.7783ZM5.30954 12.5283H11.7041C11.9366 12.5283 12.1315 12.448 12.2888 12.2875C12.4461 12.1269 12.5248 11.928 12.5248 11.6906C12.5248 11.4573 12.4461 11.2626 12.2888 11.1067C12.1315 10.9508 11.9366 10.8729 11.7041 10.8729H5.29541C5.06289 10.8729 4.86799 10.9518 4.71071 11.1097C4.55341 11.2676 4.47476 11.4632 4.47476 11.6967C4.47476 11.9301 4.55476 12.127 4.71476 12.2875C4.87476 12.448 5.07302 12.5283 5.30954 12.5283ZM2.12693 21.3533C1.58515 21.3533 1.11963 21.1587 0.730385 20.7694C0.341118 20.3802 0.146484 19.9146 0.146484 19.3729V2.6272C0.146484 2.08154 0.341118 1.61269 0.730385 1.22065C1.11963 0.828638 1.58515 0.632629 2.12693 0.632629H10.3432C10.6176 0.632629 10.8792 0.688421 11.1278 0.800004C11.3765 0.911604 11.5911 1.05762 11.7715 1.23805L16.2617 5.72828C16.4422 5.90871 16.5882 6.12327 16.6998 6.37195C16.8114 6.62062 16.8672 6.88215 16.8672 7.15655V19.3729C16.8672 19.9146 16.6712 20.3802 16.2791 20.7694C15.8871 21.1587 15.4183 21.3533 14.8726 21.3533H2.12693ZM10.1476 6.28698V2.6272H2.12693V19.3729H14.8726V7.2772H11.1378C10.8594 7.2772 10.6247 7.18178 10.4339 6.99093C10.243 6.80008 10.1476 6.56543 10.1476 6.28698Z"" fill=""black"" />
                </g>
            </svg>")&"'>"
  • macombstock Profile Picture
    2 on at
    HTML Text - SVG Suddenly Don't show in Canvas app
    I'm having the same issue. 
     
    I have an app with SVGs embedded within HTML text.
     
    SVGs seem to display through an image control when using the EncodeURI, as mentioned below, but not through the HTML control.
     
    In studio, I see nothing. When using the app on my mobile, part of the SVG renders, the text, but not the circle and lines that worked previously. 
  • Mx81 Profile Picture
    860 on at
    HTML Text - SVG Suddenly Don't show in Canvas app
    Is it only effecting SVGs? My latest Apps have also issues on mobile devices (iPhone and iPad). But only for newer apps. And what is really strange: On some Screens my html div is showing, on other screens not. But only on mobile devices.
  • huynhdat1989 Profile Picture
    4 on at
    HTML Text - SVG Suddenly Don't show in Canvas app

    I have submitted a ticket to support this as well.

    They told me this is due to security concerns with using SVG, citing potential malicious code, and that there is no ETA on when or if SVG will be allowed. This does not make sense to me since SVG is a core part of HTML. It seems like Microsoft has not communicated clearly with users about what is actually happening and appears unwilling to resolve the issue.

    There are many good things about PowerApps, but this unreliability and lack of transparency might be a significant consideration for using PowerApps in the future.

  • alexjames Profile Picture
    12 on at
    HTML Text - SVG Suddenly Don't show in Canvas app
    I've submitted a ticket to support for this issue
     
    I've been told that this is the result of a fix that has been applied to another issue. However, I've been told it is not being treated as a bug and prioritised for a fix but rather that restoring the old functionality (I support for SVG in the control) is now being considered a feature request. Given that SVG is a core part of HTML and that this was functionality that previously worked this is pretty suboptimal
     
    It will require some engineering to work around in our production environment should it not be fixed before the authoring versions where it works become deprecated in the designer. This is very clearly a bug
  • pdog763 Profile Picture
    66 on at
    HTML Text - SVG Suddenly Don't show in Canvas app
    My experience is as follows:
    • Existing images that I have had in my app are not impacted.
    • New images that I insert in my app are impacted.
    • I have 16 standard svg images that I have html text saved.  Of those, 6 render correctly and 8 do not.  I suppose I can interrogate the text to see if there is a particular piece of html that causes the issue. 
    • Going up or down in authoring versions did not change anything.
  • alexjames Profile Picture
    12 on at
    HTML Text - SVG Suddenly Don't show in Canvas app
    This is definitely a bug within the authoring versions
     
    In a new app SVG does not embed within HTMLText controls in the latest authoring version. I've tested the authoring options available to me:
     
    3.24123.6 - does not work
    3.24112.12 (recommended) - does not work
    3.24121.10 - does not work
    3.24112.13 and below - working
     
    Can someone please confirm this has been identified as a bug and triaged for a fix?
  • jade-castillo17 Profile Picture
    16 on at
    HTML Text - SVG Suddenly Don't show in Canvas app
    Hi, @@BL-09091320-0, unfortunately it only returns
     
    before posting this issue on forums my senior tried it but unfortunately it only returns
    the encoded text from the SVG which is shown in this image
     
  • jade-castillo17 Profile Picture
    16 on at
    HTML Text - SVG Suddenly Don't show in Canvas app
    Hi @
     
     
    @Yariestrell0,
    sadly this doesn't also work my environment it only returns a broken image in html text, using this code
    only returns a broken image in HtmlText

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 791 Most Valuable Professional

#2
MS.Ragavendar Profile Picture

MS.Ragavendar 410

#3
mmbr1606 Profile Picture

mmbr1606 275 Super User 2025 Season 1