forked from fediversity/fediversity
		
	drive-by refactoring
This commit is contained in:
		
							parent
							
								
									f1c0d29df9
								
							
						
					
					
						commit
						771708c557
					
				
					 2 changed files with 1 additions and 3 deletions
				
			
		|  | @ -28,7 +28,6 @@ in | |||
|         ]; | ||||
|         body.content = | ||||
|           let | ||||
|             prev-content = prev.html.body.content; | ||||
|             to-section = { heading, body, attrs ? { } }: { | ||||
|               section = { | ||||
|                 heading.content = heading; | ||||
|  | @ -43,7 +42,7 @@ in | |||
|             }; | ||||
|           in | ||||
|           [ | ||||
|             (lib.head prev-content) # header | ||||
|             (lib.head prev.html.body.content) | ||||
|             { | ||||
|               section = { | ||||
|                 attrs = { }; | ||||
|  |  | |||
|  | @ -505,7 +505,6 @@ let | |||
|                   else baseType.merge loc (map (p: p.def // { value = p.processed; }) processed); | ||||
|               }; | ||||
|             in | ||||
|             # HACK: bail out for now | ||||
|             with-section-constraints | ||||
|               # TODO: find a reasonable cut-off for where to place raw content | ||||
|               (listOf (either str (attrTag categories.flow))); | ||||
|  |  | |||
		Loading…
	
	Add table
		
		Reference in a new issue