This commit is contained in:
codeboss 2024-06-21 20:55:07 +08:00
parent e1fe5e1104
commit 9d523a96bd
4 changed files with 2 additions and 4 deletions

View File

@ -3,7 +3,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
<LocalDebuggerWorkingDirectory>$(SolutionDir)$(Platform)\$(Configuration)\</LocalDebuggerWorkingDirectory>
<DebuggerFlavor>WindowsLocalDebugger</DebuggerFlavor>
<LocalDebuggerCommandArguments>--path "D:\Projects\Cpp\WsNovelParser\x64\test_file"</LocalDebuggerCommandArguments>
<LocalDebuggerCommandArguments>--path "D:\手作小说\科学+修仙+创造世界"</LocalDebuggerCommandArguments>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
<LocalDebuggerCommandArguments>--path "D:\手作小说\科学+修仙+创造世界"</LocalDebuggerCommandArguments>

View File

@ -96,8 +96,7 @@ void StoryVolume::buildPageHTML(QDomElement& parent) const {
[&](QDomElement& parent_element, const QList<std::shared_ptr<const ast_gen::ElementAccess>> children) {
for (auto& child : children) {
auto doc_ins = parent_element.ownerDocument();
switch ((NovelNode)child->element()->typeMark())
{
switch ((NovelNode)child->element()->typeMark()) {
case NovelNode::TextSection: {
auto text_inst = std::dynamic_pointer_cast<const TextSection>(child->element());
auto dom_p = doc_ins.createElement("p");

View File

@ -35,7 +35,6 @@ std::function<void(std::shared_ptr<const ast_gen::ElementAccess>, int)> tnode_pr
* nsc [opts] --path path-to-dir
* opts:
* -p print-struct
* -s service
*/
int main(int argc, char* argv[]) {
QCoreApplication a(argc, argv);

Binary file not shown.