From 7b7b91768edd4c327120f15c126e515317270a8a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Tue, 16 Mar 2021 08:16:19 +0900 Subject: [PATCH] Get rid of a trailing space --- lib/rdoc/markdown.kpeg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/rdoc/markdown.kpeg b/lib/rdoc/markdown.kpeg index dee0a9a7ad..84073ebe65 100644 --- a/lib/rdoc/markdown.kpeg +++ b/lib/rdoc/markdown.kpeg @@ -1209,8 +1209,7 @@ TableItem = "|" < (!"|" !@Newline .)+ > TableLine = TableColumn+:line "|" @Newline { line } TableColumn = "|" < ( "-"+ ":"? | ":" "-"* ) > - { - text.start_with?(":") ? :left : + { text.start_with?(":") ? :left : text.end_with?(":") ? :right : nil }