1
0
镜像自地址 https://github.com/quitesimpleorg/qsmaddy.git 已同步 2024-11-21 15:17:52 +01:00

make Parser::Parse accept istreams instead of stringstream

这个提交包含在:
Evan Klitzke 2020-07-12 11:28:33 -07:00
父节点 19338d2b56
当前提交 71ee49d1ea
找不到此签名对应的密钥
GPG 密钥 ID: 7547F1FDF6629AFB
共有 2 个文件被更改,包括 3 次插入3 次删除

查看文件

@ -7,4 +7,4 @@ a license to everyone to use it as detailed in LICENSE.)
M. Petra Baranski (info@progsource.de)
Patrick José Pereira (patrickelectric@gmail.com)
Martin Kopecky (martin.kopecky357@gmail.com)
Evan Klitzke (evan@eklitzke.org)

查看文件

@ -73,11 +73,11 @@ public:
* Parse
*
* @method
* @param {const std::stringstream&} markdown
* @param {const std::istream&} markdown
* @return {std::string} HTML
*/
std::string
Parse(std::stringstream& markdown) const
Parse(std::istream& markdown) const
{
std::string result = "";
std::shared_ptr<BlockParser> currentBlockParser = nullptr;