Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Codeblock rule flagging incorretly when four+ hyphens used #27

Open
rohennes opened this issue Jan 25, 2023 · 2 comments
Open

Codeblock rule flagging incorretly when four+ hyphens used #27

rohennes opened this issue Jan 25, 2023 · 2 comments

Comments

@rohennes
Copy link
Owner

rohennes commented Jan 25, 2023

If I have 4 or more codeblock delimiters, the codeblock rule triggers.

It should accept any number of hyphens?


[source,yaml,options="nowrap",role="white-space-pre"]
----
apiVersion: agent-install.openshift.io/v1beta1
kind: InfraEnv
metadata:
  name: <cluster_name>
  namespace: <cluster_name>
spec:
  kernelArguments:
    - operation: append
      value: audit=0
    - operation: append
      value: trace=1
  clusterRef:
    name: <cluster_name>
    namespace: <cluster_name>
  pullSecretRef:
    name: pull-secret
----
@rohennes
Copy link
Owner Author

Might have just been imagining this???

@aireilly
Copy link
Collaborator

aireilly commented Feb 7, 2023

Seems fine to me. One thing we do want to implment is a check for matching delimiters.

----
some code
-----

is bad and needs to be caught.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants