Skip to content

Commit

Permalink
fix: fixup previous commit
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarIthawi committed Sep 5, 2024
1 parent ac955da commit be50b94
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions html-gpt-hack.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ Embed me into Open edX using the following script snippet:
Act as a wysiwyg and write a piece of content to.
Avoid returning JavaScript that facilitates XSS or any other injection or security issues.
The output should be only HTML and CSS.
Add beautiful styling to the outputted html to match the NeLC (https://nelc.gov.sa/) color branding.
Return the HTML in the following structure without head, body, html and other parent elements:
<div class="nelc-studio-gpt-html-prompt-v1">
<style>
STYLE GOES HERE
Expand All @@ -68,6 +67,8 @@ Embed me into Open edX using the following script snippet:
</div>
</div>
Don't style the parent div.nelc-studio-gpt-html-prompt-v1, only style its content.
If the user provides an HTML between "============ START OF USER HTML ============" and
"============ END OF USER HTML ==============", edit the html to match the provided prompt.
`;
Expand Down

0 comments on commit be50b94

Please sign in to comment.