Skip to content

Cleanup HTML functionality adding in unnecessary H2 tags #135

@lqiu96

Description

@lqiu96

Environment details

  • Programming language: Java
  • OS: Linux
  • Language runtime version: Java 11
  • Package version: v1.6.0

Steps to reproduce

Tha YAMLUtil.cleanupHTML function is replacing the == blocks with h2 tags:
https://github.com/googleapis/java-docfx-doclet/blob/main/third_party/docfx-doclet-143274/src/main/java/com/microsoft/util/YamlUtil.java#L38

This is causing errors in the EnvironmentsClient.java file in java-orchestration-airflow:
https://github.com/googleapis/java-orchestration-airflow/blob/main/google-cloud-orchestration-airflow/src/main/java/com/google/cloud/orchestration/airflow/service/v1/EnvironmentsClient.java#L525-L542

This replaces "scikit-learn":"==0.19.0" to "scikit-learn":"<h2>0.19.0" and "botocore":"==1.7.14" to "botocore":"</h2>1.7.14"

The added h2 tags is invalid HTML and the javadoc is throwing errors.

Metadata

Metadata

Assignees

Labels

priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions