forked from indymedia/epicyon
				
			Extra replace
							parent
							
								
									273a8cd358
								
							
						
					
					
						commit
						9412c01223
					
				
							
								
								
									
										7
									
								
								posts.py
								
								
								
								
							
							
						
						
									
										7
									
								
								posts.py
								
								
								
								
							|  | @ -479,13 +479,16 @@ def createPostBase(baseDir: str,nickname: str, domain: str, port: int, \ | ||||||
| 
 | 
 | ||||||
|     # convert content to html |     # convert content to html | ||||||
|     emojisDict={} |     emojisDict={} | ||||||
|  | 
 | ||||||
|  |     # replace 's | ||||||
|  |     content=content.replace("\ufffd\ufffd\ufffds","'s").replace("’","'") | ||||||
|  | 
 | ||||||
|  |     # add tags | ||||||
|     content= \ |     content= \ | ||||||
|         addHtmlTags(baseDir,httpPrefix, \ |         addHtmlTags(baseDir,httpPrefix, \ | ||||||
|                     nickname,domain,content, \ |                     nickname,domain,content, \ | ||||||
|                     mentionedRecipients, \ |                     mentionedRecipients, \ | ||||||
|                     hashtagsDict,True) |                     hashtagsDict,True) | ||||||
|     # replace 's |  | ||||||
|     content=content.replace("\ufffd\ufffd\ufffds","'s") |  | ||||||
|      |      | ||||||
|     statusNumber,published = getStatusNumber() |     statusNumber,published = getStatusNumber() | ||||||
|     postTo='https://www.w3.org/ns/activitystreams#Public' |     postTo='https://www.w3.org/ns/activitystreams#Public' | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue