Applying fix from 2.0.1 to blockQuote and paragraph (fac23ef)
This commit is contained in:
		
							parent
							
								
									ca231ab2d8
								
							
						
					
					
						commit
						b52de58fbd
					
				| @ -125,10 +125,6 @@ public class CorePlugin extends AbstractMarkwonPlugin { | ||||
| 
 | ||||
|                 visitor.ensureNewLine(); | ||||
| 
 | ||||
|                 if (visitor.blockQuoteIndent() > 0) { | ||||
|                     visitor.forceNewLine(); | ||||
|                 } | ||||
| 
 | ||||
|                 final int length = visitor.length(); | ||||
|                 visitor.incrementBlockQuoteIndent(); | ||||
|                 visitor.visitChildren(blockQuote); | ||||
| @ -137,9 +133,7 @@ public class CorePlugin extends AbstractMarkwonPlugin { | ||||
| 
 | ||||
|                 if (visitor.hasNext(blockQuote)) { | ||||
|                     visitor.ensureNewLine(); | ||||
|                     if (visitor.blockQuoteIndent() > 0) { | ||||
|                         visitor.forceNewLine(); | ||||
|                     } | ||||
|                     visitor.forceNewLine(); | ||||
|                 } | ||||
|             } | ||||
|         }); | ||||
| @ -363,9 +357,7 @@ public class CorePlugin extends AbstractMarkwonPlugin { | ||||
| 
 | ||||
|                 if (!inTightList && visitor.hasNext(paragraph)) { | ||||
|                     visitor.ensureNewLine(); | ||||
|                     if (visitor.blockQuoteIndent() == 0) { | ||||
|                         visitor.forceNewLine(); | ||||
|                     } | ||||
|                     visitor.forceNewLine(); | ||||
|                 } | ||||
|             } | ||||
|         }); | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 Dimitry Ivanov
						Dimitry Ivanov