WPF Error XLS0108 Entity references or sequences beginning with an ampersand '&' must be terminated with a semicolon ';'

//https://img1.baidu.com/it/u=3991277133,2041185316&fm=253
 <Image Source="https://img1.baidu.com/it/u=3991277133,2041185316&fm=253"/>
 Severity    Code    Description    Project    File    Line    Suppression State    Details
Error    XLS0108    Entity references or sequences beginning with an ampersand '&' must be terminated with a semicolon ';'.

 

 

 

 

Solution

Replace '&' with '&amp;' include semicolon

 

<Image Source="https://img1.baidu.com/it/u=3991277133,2041185316&amp;fm=253"/>

 

 

 

 

posted @ 2024-09-26 09:30  FredGrit  阅读(18)  评论(0)    收藏  举报