Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/wattsi.pas
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,6 @@
kSuffixes: array[TVariants] of UTF8String = ('html', 'dev', 'snap', 'review');
kExcludingAttribute: array[TAllVariants] of UTF8String = ('w-nohtml', 'w-nodev', 'w-nosnap', 'w-noreview', 'w-nosplit');
kDEVAttribute = 'w-dev';
kNoOutputAttribute = 'w-nooutput';
kCrossRefAttribute = 'data-x';
kCrossSpecRefAttribute = 'data-x-href';
kCrossRefInternalLinkAttribute = 'data-x-internal';
Expand Down Expand Up @@ -2421,8 +2420,6 @@ procedure Save(const Document: TDocument; const FileName: AnsiString; const InSp
exit;
if (Element.LocalName.AsString = 'wpt') then
exit;
if (Element.HasAttribute(kNoOutputAttribute)) then
exit;
if (InSplit and Element.HasAttribute(kExcludingAttribute[vSplit])) then
exit;
IsExcluder := DetermineIsExcluder(Element, AttributeCount);
Expand Down Expand Up @@ -2511,11 +2508,6 @@ procedure Save(const Document: TDocument; const FileName: AnsiString; const InSp
if (Current is TElement) then
begin
Element := TElement(Current);
if (Element.HasAttribute(kNoOutputAttribute)) then
begin
WalkToNextSkippingChildren(Current, Document, @WalkOut);
continue;
end;
if (Element.LocalName.AsString = 'wpt') then
begin
InsertWPTTestsBlock(Element);
Expand Down