1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-30 21:30:14 +02:00

[docs] Add documentation for html.php functions (#2714)

This commit is contained in:
Yaman Qalieh
2022-05-10 03:37:53 -04:00
committed by GitHub
parent 8982995445
commit 6547ed0c04
2 changed files with 103 additions and 4 deletions

View File

@@ -147,7 +147,7 @@ function extractFromDelimiters($string, $start, $end) {
* Remove one or more part(s) of a string using a start and end delmiters
*
* @param string $string Input string, e.g. `foo<script>superscript()</script>bar`
* @param string $start Start delimiter, e.g. `<script`
* @param string $start Start delimiter, e.g. `<script>`
* @param string $end End delimiter, e.g. `</script>`
* @return string Cleaned string, e.g. `foobar`
*/
@@ -197,8 +197,7 @@ function stripRecursiveHTMLSection($string, $tag_name, $tag_start){
/**
* Convert Markdown into HTML with Parsedown.
*
* @link https://daringfireball.net/projects/markdown/ Markdown
* @link https://github.github.com/gfm/ GitHub Flavored Markdown Spec
* @link https://parsedown.org/ Parsedown
*
* @param string $string Input string in Markdown format
* @return string output string in HTML format