Comments (2)
Is the {affected}
tag inside a {findings}
tag ?
from pwndoc.
In my attempt to create a very simple way to reproduce the issue I forgot to add the {affected}
tag inside a {findings}
tag. Using the structure {#affected == ''}TODO{/affected == ''}
is correctly evaluated by pwndoc. The test template I created was not correctly formatted and I red herringed myself.
The way I am trying to use the affected tag is like this:
{#findings}
{#affected == ''}TODO EMPTY AFFECTED{/affected == ''}{@affected | convertHTML: ‘AffectedResources’}
{/findings}
And this does result in an the above mentioned error. The expected behavior would be to put the placeholder text 'TODO EMPTY AFFECTED' if the affected textbox is empty or to use the content if it's not empty. Both structures work correctly when used independently, but when both are used it results in an error.
from pwndoc.
Related Issues (20)
- Generate section
- Error: Invalid character in header content ["Content-Disposition"] when having Arabic title
- CVSS object attributes are always undefined HOT 2
- Trying to make a group by but nor working
- FINDINGS SECTION NOT SHOWING HOT 1
- Table change history HOT 2
- Is anyone using the retest functionality? HOT 2
- Cell Color On The Basis Of Retest Status HOT 2
- Removing custom field value changes text to null instead of empty string HOT 1
- Can't access text value in Custom Field HOT 1
- Findings won't populate unless page is refreshed HOT 2
- Import Vulnerabilities
- Report Type Multi on Export not Including Audit Findings of Children HOT 1
- Persistent values for custom data fields in findings HOT 1
- See cvss object attributes HOT 1
- See cvss object attributes HOT 1
- Pwndoc Frontend Docker Image Build Error - node-waf not found HOT 6
- URLs in editor
- Retest HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pwndoc.