parent
dbfd02ff96
commit
8210276c8e
|
@ -58,7 +58,8 @@
|
||||||
private string ResolveDescription(PageState page)
|
private string ResolveDescription(PageState page)
|
||||||
{
|
{
|
||||||
var resolved = new StringBuilder();
|
var resolved = new StringBuilder();
|
||||||
resolved.AppendFormat("## {0}\n\n", page.Scene.Name);
|
if(!string.IsNullOrEmpty(page.Scene.Name))
|
||||||
|
resolved.AppendFormat("## {0}\n\n", page.Scene.Name);
|
||||||
|
|
||||||
var firstToggleCounter = 0;
|
var firstToggleCounter = 0;
|
||||||
for (var i = 0; i < page.State.ActionsToShow.Count; i++)
|
for (var i = 0; i < page.State.ActionsToShow.Count; i++)
|
||||||
|
|
|
@ -88,7 +88,7 @@ namespace Ficdown.Parser.Parser
|
||||||
{
|
{
|
||||||
Original = !string.IsNullOrEmpty(astr) ? astr : null,
|
Original = !string.IsNullOrEmpty(astr) ? astr : null,
|
||||||
Text = !string.IsNullOrEmpty(txstr) ? txstr : null,
|
Text = !string.IsNullOrEmpty(txstr) ? txstr : null,
|
||||||
Title = !string.IsNullOrEmpty(ttstr) ? ttstr : null,
|
Title = ttstr,
|
||||||
Href = ParseHref(hrefstr)
|
Href = ParseHref(hrefstr)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue