Code Monkey home page Code Monkey logo

Comments (3)

moollaza avatar moollaza commented on July 17, 2024

@nheir thanks for reporting.

The missing <when>, <length> etc, might be due to the syntax highlighter. I see them in the JSON response we pass to the frontend: https://duckduckgo.com/?q=git+am&t=ffab&ia=web&o=json

The /html breakage is due to the html site's handling of the Fathead data -- it wasn't expecting it to contain HTML tags. We'll be fixing this internally.

DuckDuckHack is currently in maintenance mode though and we're only accepting critical bug reports. I'm not sure this rises to that level so we will have to tolerate this for now.

from zeroclickinfo-fathead.

nheir avatar nheir commented on July 17, 2024

the json answer also contains valid (and expected) html tags like <section> or <pre>.

See

PEP 341 A <section class="prog__container">\n<span class="prog__sub">Title</span>\n<p>PEP 341 - Unifying try-except and try-finally</p>\n<span class="prog__sub">Description</span>\n<p>This PEP proposes a change in the syntax and semantics of try\nstatements to allow combined try-except-finally blocks. This\nmeans in short that it would be valid to write:\n </p>\n<pre><code>\ntry:\n &lt;do something&gt;\nexcept Exception:\n &lt;handle the error&gt;\nfinally:\n &lt;cleanup&gt;\n</code></pre>\n</p>\n</section> https://www.python.org/dev/peps/pep-0341/

using &lt;do something&gt;

vs

git-add A <section class="prog__container"><p>Add file contents to the index</p>\n<pre><code>git add [--verbose | -v] [--dry-run | -n] [--force | -f] [--interactive | -i] [--patch | -p]\n [--edit | -e] [--[no-]all | --[no-]ignore-removal | [--update | -u]]\n [--intent-to-add | -N] [--refresh] [--ignore-errors] [--ignore-missing]\n [--chmod=(+|-)x] [--] [<pathspec>…​]</code></pre></section> https://git-scm.com/docs/download\add.html

using raw <pathspec>

from zeroclickinfo-fathead.

moollaza avatar moollaza commented on July 17, 2024

@nheir good catch looks like they need to be escaped by the parser. Given maintenance mode I don't think we're going to fix this.

from zeroclickinfo-fathead.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.