File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed 
JoinRpg.Portal/Views/Plot 
JoinRpg.WebPortal.Models/Plot Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 4242
4343        } 
4444        <span  class =" h4 @(Model.Status == PlotStatus.Deleted ? " s "  : " " )" 
45-             <a  role =" button" data-toggle =" collapse" data-parent =" #elementsaccordion" href =" #panelPlotElement@(Model.PlotElementId)" @Model.ShortContent.Value  </a >
45+             <a  role =" button" data-toggle =" collapse" data-parent =" #elementsaccordion" href =" #panelPlotElement@(Model.PlotElementId)" @Model.ShortContent </a >
4646        </span >
4747        @if  (Model .HasMasterAccess )
4848        { 
Original file line number Diff line number Diff line change 1313using  JoinRpg . Services . Interfaces ; 
1414using  JoinRpg . Web . Helpers ; 
1515using  JoinRpg . Web . Plots ; 
16- using  Microsoft . AspNetCore . Components ; 
1716
1817namespace  JoinRpg . Web . Models . Plot ; 
1918
@@ -149,8 +148,7 @@ public PlotElementListItemViewModel(
149148        PlotFolderId  =  e . PlotFolderId ; 
150149        Status  =  e . GetStatus ( ) ; 
151150        ElementType  =  ( PlotElementTypeView ) e . ElementType ; 
152-         ShortContent  =  currentVersionText . Content . TakeWords ( 10 ) . WithDefaultStringValue ( "***" ) 
153-             . ToPlainTextAndEscapeHtml ( renderer ) ; 
151+         ShortContent  =  currentVersionText . Content . TakeWords ( 10 ) . WithDefaultStringValue ( "***" ) . ToPlainTextWithoutHtmlEscape ( renderer ) ; 
154152
155153        HasPlotEditorAccess  =  e . PlotFolder . HasMasterAccess ( currentUserId ,  Permission . CanManagePlots )  &&  e . Project . Active ; 
156154        HasMasterAccess  =  e . PlotFolder . HasMasterAccess ( currentUserId ) ; 
@@ -182,7 +180,7 @@ public PlotElementListItemViewModel(
182180    [ Display ( Name  =  "Текст вводной" ) ,  UIHint ( "MarkdownString" ) ] 
183181    public  JoinHtmlString  Content  {  get ;  } 
184182
185-     public  MarkupString  ShortContent  {  get ;  } 
183+     public  string  ShortContent  {  get ;  } 
186184
187185    [ UIHint ( "EventTime" ) ] 
188186    public  DateTime  ModifiedDateTime  {  get ;  } 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments