Skip to content

docs: fix corrupted --data-* options and markup in curl.xml - #6909

Open
QAInsights wants to merge 1 commit into
apache:masterfrom
QAInsights:docs/fix-curl-xml-options
Open

QAInsights wants to merge 1 commit into
apache:masterfrom
QAInsights:docs/fix-curl-xml-options

Conversation

@QAInsights

Copy link
Copy Markdown
Contributor

Description

Fixes corrupted option names and markup issues in xdocs/usermanual/curl.xml:

  • Restored --data-binary <data> and --data-urlencode <data> and removed the duplicate empty --data-raw <data>gt; entry (all four entries previously rendered as --data-raw with stray gt; and ta> text), verified against BasicCurlParser.java.
  • Added a description for --form-string <name=content> (previously an empty <dd></dd>).
  • Wrapped --user <user:password> in <code> tags and removed stray whitespace.
  • Updated the curl homepage link from https://curl.haxx.se/ to https://curl.se/.

Motivation and Context

In xdocs/usermanual/curl.xml, a previous text replacement corrupted --data-binary and --data-urlencode into broken --data-raw entries with literal gt; and ta> artifacts in the rendered HTML documentation.

How Has This Been Tested?

  • Verified supported --data-* and --form-string options against BasicCurlParser.java and BasicCurlParserTest.java.
  • Ran ./gradlew --quiet :src:dist:previewSite -x :src:dist:javadocAggregate autostyleCheck rat on Windows (all passed with exit code 0).
  • Verified the rendered src/dist/build/site/usermanual/curl.html output.

Screenshots (if appropriate):

N/A (documentation-only changes)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)

Checklist:

  • My code follows the code style of this project.
  • I have updated the documentation accordingly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant