C# 클래스 TextHelper.SimpleFormatter

파일 보기 프로젝트 열기: tylermercier/TextHelper

공개 메소드들

메소드 설명
ToSimpleFormat ( this text ) : string

Returns text transformed into HTML using simple formatting rules. Two or more consecutive newlines(\n\n) are considered as a paragraph and wrapped in <p> tags. One newline (\n) is considered as a linebreak and a <br /> tag is appended. This method does not remove the newlines from the text.

메소드 상세

ToSimpleFormat() 공개 정적인 메소드

Returns text transformed into HTML using simple formatting rules. Two or more consecutive newlines(\n\n) are considered as a paragraph and wrapped in <p> tags. One newline (\n) is considered as a linebreak and a <br /> tag is appended. This method does not remove the newlines from the text.
public static ToSimpleFormat ( this text ) : string
text this
리턴 string