Skip to content

Commit

Permalink
add post render to render diagram
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-peugnet committed May 10, 2023
1 parent 95cc30a commit e2c8b87
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions RENDER.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ flowchart TD
2rss(RSS detection) -->
2F(W inclusion 2) -->
2H(Wiki links) -->
2I(Link and media analysis)
2I(Link and media analysis) -->
2pp(check for post render actions)
end
2I -->
2pp -->
3B((Head and Body gathering)) -->
3C[[Rendered HTML]] --> 4c
subgraph "post render actions"
Expand All @@ -43,6 +44,7 @@ flowchart TD
1E -. "send TOC structure" .-> 2D
2rss -. "send rss links" .-> 0rss
2pp -. trigger post render action .-> 4c
```

- *every link: rendering option that transform every word as a link
Expand Down
4 changes: 2 additions & 2 deletions app/class/Servicerender.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ public function rendermanual(string $text): string
private function gethmtl()
{

$body = $this->parsebody($this->readbody());
$body = $this->bodyconstructor($this->readbody());
$parsebody = $this->bodyparser($body);
$this->postprocessaction = $this->checkpostprocessaction($parsebody);
$head = $this->gethead();
Expand Down Expand Up @@ -156,7 +156,7 @@ private function readbody()
*
* @return string as the full rendered BODY of the page
*/
private function parsebody(string $body): string
private function bodyconstructor(string $body): string
{
$body = $this->basicinclusions($body);

Expand Down

0 comments on commit e2c8b87

Please sign in to comment.