Fix unescape > symbol inside the style tags to make the CSS works
This commit is contained in:
		
							parent
							
								
									8979f215ab
								
							
						
					
					
						commit
						b0b417cefc
					
				| @ -552,6 +552,10 @@ export function finishView (view) { | |||||||
|   } catch (err) { |   } catch (err) { | ||||||
|     console.warn(err) |     console.warn(err) | ||||||
|   } |   } | ||||||
|  |   // unescape > symbel inside the style tags
 | ||||||
|  |   view.find('style').each((key, value) => { | ||||||
|  |     $(value).html($(value).html().replace(/>/g, '>')) | ||||||
|  |   }) | ||||||
|     // render title
 |     // render title
 | ||||||
|   document.title = renderTitle(view) |   document.title = renderTitle(view) | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user