bertysentry commented on code in PR #132:
URL: https://github.com/apache/maven-doxia/pull/132#discussion_r1058930626


##########
doxia-modules/doxia-module-markdown/src/test/resources/metadata-yaml.md:
##########
@@ -0,0 +1,14 @@
+---
+title: A Title & a 'Test'
+author: Somebody 'Nickname' Great <someb...@somewhere.org>
+date: 2013 © Copyleft
+keywords: maven,doxia,markdown
+---
+

Review Comment:
   You will want to handle the case where there is no empty line after the 
metadata marker `---` and add the corresponding unit test.
   
   Example of Markdown file that must be supported:
   
   ```md
   ---
   title: Some news
   date: 2022-12-29
   ---
   Tesla: Stock Hits New Record Low
   ----------------------------------
   
   Following Musk's decision to bla bla bla
   ```
   
   In the above Markdown file, you need to make sure we don't end up with an 
extra `<meta name="Tesla" content="Stock Hits New Record Low">`



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@maven.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to