From 196566250d998b70f42243ef05e1b3ba51d14416 Mon Sep 17 00:00:00 2001 From: David Gohel Date: Tue, 25 Nov 2014 11:19:07 +0100 Subject: [PATCH] minor markdown correction https://github.com/davidgohel/ReporteRs/issues/46 --- R/ReporteRs.R | 4 ++-- R/markdown.api.R | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/R/ReporteRs.R b/R/ReporteRs.R index c6c0c6c..bb20c42 100644 --- a/R/ReporteRs.R +++ b/R/ReporteRs.R @@ -4,8 +4,8 @@ #' \tabular{ll}{ #' Package: \tab ReporteRs\cr #' Type: \tab Package\cr -#' Version: \tab 0.7.0\cr -#' Date: \tab 2014-11-18\cr +#' Version: \tab 0.7.1\cr +#' Date: \tab 2014-11-25\cr #' License: \tab GPL (>= 3)\cr #' LazyLoad: \tab yes\cr #' } diff --git a/R/markdown.api.R b/R/markdown.api.R index f589e7c..482d710 100644 --- a/R/markdown.api.R +++ b/R/markdown.api.R @@ -1,7 +1,7 @@ blockquotes_reg = "^\\s*(>\\s{1})+" title_reg_atx = "^#{1,6}\\s+(.*)*#*" -title_reg_setext_firstlevel = "^(=)+(.*)*\\s*$" -title_reg_setext_secondlevel = "^(-)+(.*)*\\s*$" +title_reg_setext_firstlevel = "^(=)+\\s*$" +title_reg_setext_secondlevel = "^(-)+\\s*$" ol_reg = "^\\s*[0-9]\\.\\s+(.*)*" ul_reg = "^\\s*[\\*\\-]\\s+(.*)*"