Use \N instead of \n in ASS
This commit is contained in:
		
							parent
							
								
									bb4898ae88
								
							
						
					
					
						commit
						2ca5ba6061
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -60,7 +60,7 @@ def MarkCommentRow(rows, c, row): | |||
| 
 | ||||
| 
 | ||||
| def WriteComment(f, c, row, width, height, bottomReserved, fontsize, lifetime): | ||||
|     text = c[3].replace('\\', '\\\\').replace('\n', '\\n') | ||||
|     text = c[3].replace('\\', '\\\\').replace('\n', '\\N') | ||||
|     if c[4] == 1: | ||||
|         styles = '{\\a2}{\\pos(%(halfwidth)s, %(row)s)}' % {'halfwidth': round(width/2), 'row': row} | ||||
|     elif c[4] == 2: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Star Brilliant
						Star Brilliant