Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SeFHT
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
josc941e
SeFHT
Commits
7369cbfb
"README.md" did not exist on "96696f0136a1804796f89e3dfd1b3dee95a383e6"
Commit
7369cbfb
authored
2 years ago
by
Jonathan Schöbel
Browse files
Options
Downloads
Patches
Plain Diff
added wrapper method for SH_Fragment_to_html
parent
787e7288
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/fragment.c
+12
-5
12 additions, 5 deletions
src/fragment.c
with
12 additions
and
5 deletions
src/fragment.c
+
12
−
5
View file @
7369cbfb
...
...
@@ -237,9 +237,9 @@ SH_Fragment_append_child (struct SH_Fragment * fragment,
return
TRUE
;
}
struct
SH_Text
*
SH_
Fragment_to_html
(
struct
SH_Fragment
*
fragment
,
struct
SH_Error
*
error
)
static
struct
SH_Text
*
Fragment_to_html
(
struct
SH_Fragment
*
fragment
,
struct
SH_Error
*
error
)
{
struct
SH_Text
*
html
;
struct
SH_Text
*
child
;
...
...
@@ -271,8 +271,8 @@ SH_Fragment_to_html (struct SH_Fragment * fragment,
for
(
index
=
0
;
index
<
fragment
->
child_n
;
index
++
)
{
child
=
SH_
Fragment_to_html
(
fragment
->
childs
[
index
],
error
);
child
=
Fragment_to_html
(
fragment
->
childs
[
index
],
error
);
if
(
child
==
NULL
)
{
...
...
@@ -313,3 +313,10 @@ SH_Fragment_to_html (struct SH_Fragment * fragment,
return
html
;
}
struct
SH_Text
*
SH_Fragment_to_html
(
struct
SH_Fragment
*
fragment
,
struct
SH_Error
*
error
)
{
return
Fragment_to_html
(
fragment
,
error
);
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment