@diplodoc/cli 4.10.0 → 4.11.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/index.js CHANGED
@@ -2181,9 +2181,6 @@ function resolveMd2HTML(options) {
2181
2181
  const content = (0, import_fs7.readFileSync)(resolvedPath, "utf8");
2182
2182
  const transformFn = FileTransformer[fileExtension];
2183
2183
  const { result } = transformFn(content, { path: inputPath });
2184
- if (result.html) {
2185
- result.html = result.html.replace(/\n+/gm, "");
2186
- }
2187
2184
  const updatedMetadata = metadata && metadata.isContributorsEnabled ? yield getUpdatedMetadata(metadata, content, result == null ? void 0 : result.meta) : result.meta;
2188
2185
  const fileMeta = fileExtension === ".yaml" ? (_a = result.data.meta) != null ? _a : {} : updatedMetadata;
2189
2186
  if (allowCustomResources) {
@@ -4211,7 +4208,7 @@ import_yargs.default.command(build).command(publish).command(xliff).command(tran
4211
4208
  default: false,
4212
4209
  describe: "Run in quiet mode. Don't write logs to stdout",
4213
4210
  type: "boolean"
4214
- }).group(["config", "strict", "quiet", "help", "version"], "Common options:").version(true ? "4.10.0" : "").help().parse((0, import_helpers.hideBin)(process.argv), {}, (err, { strict }, output) => {
4211
+ }).group(["config", "strict", "quiet", "help", "version"], "Common options:").version(true ? "4.11.0" : "").help().parse((0, import_helpers.hideBin)(process.argv), {}, (err, { strict }, output) => {
4215
4212
  console.timeEnd(MAIN_TIMER_ID);
4216
4213
  if (err) {
4217
4214
  console.error(err);