Parcourir la source

use html from jade as strings now fully html escaped

Henry Oswald il y a 9 ans
Parent
commit
debe78030a

+ 1 - 1
services/web/app/views/project/editor/pdf.pug

@@ -302,7 +302,7 @@ div.full-size.pdf(ng-controller="PdfController")
 			.alert.alert-danger(ng-show="pdf.validation.conflictedPaths")
 			.alert.alert-danger(ng-show="pdf.validation.conflictedPaths")
 				div
 				div
 					strong #{translate("conflicting_paths_found")}
 					strong #{translate("conflicting_paths_found")}
-				div #{translate("following_paths_conflict")}
+				div !{translate("following_paths_conflict")}
 				div
 				div
 					li(ng-repeat="entry in pdf.validation.conflictedPaths") {{ '/'+entry['path'] }}
 					li(ng-repeat="entry in pdf.validation.conflictedPaths") {{ '/'+entry['path'] }}
 
 

+ 1 - 1
services/web/app/views/user/sessions.pug

@@ -17,7 +17,7 @@ block content
 
 
 						div
 						div
 							p.small
 							p.small
-								| #{translate("clear_sessions_description")}
+								| !{translate("clear_sessions_description")}
 
 
 						div
 						div
 							div(ng-if="state.otherSessions.length == 0")
 							div(ng-if="state.otherSessions.length == 0")